get_ValueAsDateTime()
XPathItem::get_ValueAsDateTime() method
When overridden in a derived class, gets the item’s value as a DateTime.
virtual DateTime System::Xml::XPath::XPathItem::get_ValueAsDateTime()=0
Return Value
The item’s value as a DateTime.
Exceptions
| Exception | Description |
|---|---|
| FormatException | The item’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 XPathItem
- Namespace System::Xml::XPath
- Library Aspose.Slides