MindFusion WinForms Programmer's Guide
XmlSerializationContext.WriteDateTime Method
See Also
 





Writes the specified DateTime object.

Namespace: MindFusion.Reporting
Assembly: MindFusion.Reporting

 Syntax

C#  Copy Code

public XmlElement WriteDateTime (
    DateTime value,
    string elementName,
    XmlElement parentElement
)

Visual Basic  Copy Code

Public Function WriteDateTime( _
    value As DateTime, _
    elementName As String, _
    parentElement As XmlElement _
) As XmlElement

 Parameters

value

The .NET DateTime object to write.

elementName

The name of the element under which the object should be written.

parentElement

The parent element of the newly created node.

 Return Value

An instance of the .NET XmlElement class representing the newly created XML element.

 See Also

XmlSerializationContext Members
XmlSerializationContext Class
MindFusion.Reporting Namespace
ReadDateTime Method