get_ValueAsDateTime()
XPathNavigator::get_ValueAsDateTime() method
Returns the current node’s value as a DateTime.
DateTime System::Xml::XPath::XPathNavigator::get_ValueAsDateTime() override
Return Value
The current node’s value as a DateTime.
Exceptions
| Exception | Description |
|---|---|
| FormatException | The current node’s string value cannot be converted to a DateTime. |
| InvalidCastException | The attempted cast to DateTime is not valid. |
See Also
- Class DateTime
- Class XPathNavigator
- Namespace System::Xml::XPath
- Library Aspose.Slides