get_ValueAsLong()

XmlAtomicValue::get_ValueAsLong() method

Returns the validated XML element or attribute’s value as an Int64.

int64_t System::Xml::Schema::XmlAtomicValue::get_ValueAsLong() override

Return Value

The validated XML element or attribute’s value as an Int64.

Exceptions

ExceptionDescription
FormatExceptionThe validated XML element or attribute’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