XPathAtomicValue.ValueAsDecimal PropertyXPathAtomicValue.ValueAsDecimal PropertyXPathAtomicValue::ValueAsDecimal Property

Gets the item's value as a decimalDecimaldecimal.

Syntax

Public Overridable ReadOnly Property ValueAsDecimal As Decimal
        Get
public virtual decimal ValueAsDecimal { get; }
public:
virtual property decimal ValueAsDecimal {
    decimal get();
}
 

Property Value

Type: System.DecimalSystem.DecimalSystem::Decimal

The item's value as a decimalDecimaldecimal.

Exceptions

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