System.Xml.Schema.XmlAtomicValue.ValueAsDateTime Property

Gets the validated XML element or attribute's value as a DateTime.

Syntax

public override DateTime ValueAsDateTime { get; }

Value

Documentation for this section has not yet been entered.

Remarks

The XmlAtomicValue.ValueAsDateTime property attempts to convert the value of the validated XML element or attribute to the Microsoft .NET Framework DateTime type according to the XPath 2.0 rules for casting the item's type.

For more information about type support in the System.Xml namespace, see Type Support in the System.Xml Classes.

Requirements

Namespace: System.Xml.Schema
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0