get_ValueAsLong()

XPathItem::get_ValueAsLong() method

When overridden in a derived class, gets the item’s value as an Int64.

virtual int64_t System::Xml::XPath::XPathItem::get_ValueAsLong()=0

Return Value

The item’s value as an Int64.

Exceptions

ExceptionDescription
FormatExceptionThe item’s value is not in the correct format for the Int64 type.
InvalidCastExceptionThe attempted cast to Int64 is not valid.
OverflowExceptionThe attempted cast resulted in an overflow.

See Also