ASP.NET Pack Programmer's Guide
XmlSerializationContext.ReadDateTime Method
See Also
 





Reads a DateTime value from the element with the specified name.

Namespace: MindFusion.Scheduling
Package: MindFusion.Scheduling.WebForms

 Syntax

C#  Copy Code

public DateTime ReadDateTime (
    string elementName,
    XmlElement parentElement
)

Visual Basic  Copy Code

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

 Parameters

elementName
Type: String
A string that specifies the name of the element to read.
parentElement
Type: XmlElement
An instance of the System.Xml.XmlElement class that specifies the parent element.

 Return Value

Type: DateTime
The System.DateTime value read; DateTime.MinValue if reading has failed.

 See Also

XmlSerializationContext Members
XmlSerializationContext Class
MindFusion.Scheduling Namespace