get_ValueAsLong()

XPathNavigator::get_ValueAsLong() method

Returns the current node’s value as an Int64.

int64_t System::Xml::XPath::XPathNavigator::get_ValueAsLong() override

Return Value

The current node’s value as an Int64.

Exceptions

ExceptionDescription
FormatExceptionThe current node’s string value cannot be converted to a Int64.
InvalidCastExceptionThe attempted cast to Int64 is not valid.

See Also