Search
XmlSerializationContext.WriteDateTime Method
See Also
 






Writes the specified DateTime object.

Namespace: MindFusion.Scheduling
Assembly: MindFusion.Scheduling

 Syntax

C#  Copy Code

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

Visual Basic  Copy Code

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

 Parameters

value

The value to write.

elementName

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

parentElement

The parent element of the newly created node.

 Return Value

An instance of the XElement class representing the newly created XML element.

 See Also