XPathAtomicValue.ValueAsInt PropertyXPathAtomicValue.ValueAsInt PropertyXPathAtomicValue::ValueAsInt Property

Gets the item's value as an intIntegerint.

Syntax

Public Overrides ReadOnly Property ValueAsInt As Integer
        Get
public override int ValueAsInt { get; }
public:
virtual property int ValueAsInt {
    int get();
}
 

Property Value

Type: System.Int32System.Int32System::Int32

The item's value as an intIntegerint.

Exceptions

ExceptionCondition
FormatExceptionFormatExceptionFormatException The item's value is not in the correct format for the intIntegerint type.
InvalidCastExceptionInvalidCastExceptionInvalidCastException The attempted cast to intIntegerint is not valid.
OverflowExceptionOverflowExceptionOverflowException The attempted cast resulted in an overflow.