Search
XmlSerializationContext.ReadDateTime Method
See Also
 






Reads a DateTime object with the specified name.

Namespace: MindFusion.Scheduling
Assembly: MindFusion.Scheduling

 Syntax

C#  Copy Code

public DateTime ReadDateTime (
    string elementName,
    XElement parentElement
)

Visual Basic  Copy Code

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

 Parameters

elementName

The name of the element containing the value.

parentElement

The parent element of the node with the specified name.

 Return Value

A DateTime object. Returns DateTime.MinValue if there is no element with the specified name under the specified parent.

 See Also