get_ValueAsDateTime()
XmlAtomicValue::get_ValueAsDateTime() method
Returns the validated XML element or attribute’s value as a DateTime.
DateTime System::Xml::Schema::XmlAtomicValue::get_ValueAsDateTime() override
Return Value
The validated XML element or attribute’s value as a DateTime.
Exceptions
| Exception | Description |
|---|---|
| FormatException | The validated XML element or attribute’s value is not in the correct format for the DateTime type. |
| InvalidCastException | The attempted cast to DateTime is not valid. |
See Also
- Class DateTime
- Class XmlAtomicValue
- Namespace System::Xml::Schema
- Library Aspose.Slides