XPathAtomicValue.ValueAsDuration PropertyXPathAtomicValue.ValueAsDuration PropertyXPathAtomicValue::ValueAsDuration Property
Gets the item's value as a DurationDurationDuration.
Gets the item's value as a decimalDecimaldecimal.
Property Value
Type: XmlPrime.DurationXmlPrime.DurationXmlPrime::Duration
The item's value as a DurationDurationDuration. The item's value as a decimalDecimaldecimal.
Exceptions
Exception | Condition |
OverflowExceptionOverflowExceptionOverflowException | The value was too large to be stored in a DurationDurationDuration |
FormatExceptionFormatExceptionFormatException | The value was not a valid lexical value for xs:duration . |
InvalidCastExceptionInvalidCastExceptionInvalidCastException | The value cannot be cast to xs:duration . |