XPathAtomicValue.ValueAsInt16 PropertyXPathAtomicValue.ValueAsInt16 PropertyXPathAtomicValue::ValueAsInt16 Property

Gets the item's value as an shortShortshort.

Syntax

Public Overridable ReadOnly Property ValueAsInt16 As Short
        Get
public virtual short ValueAsInt16 { get; }
public:
virtual property short ValueAsInt16 {
    short get();
}
 

Property Value

Type: System.Int16System.Int16System::Int16

The item's value as an shortShortshort.

Exceptions

ExceptionCondition
OverflowExceptionOverflowExceptionOverflowExceptionThe value was too large to be stored in a GYearMonthGYearMonthGYearMonth
FormatExceptionFormatExceptionFormatExceptionThe value was not a valid lexical value for xs:gYearMonth.
InvalidCastExceptionInvalidCastExceptionInvalidCastExceptionThe value cannot be cast to xs:gYearMonth.