XPathAtomicValue.ValueAsYearMonthDuration PropertyXPathAtomicValue.ValueAsYearMonthDuration PropertyXPathAtomicValue::ValueAsYearMonthDuration Property
Syntax
Public Overridable ReadOnly Property ValueAsYearMonthDuration As YearMonthDuration Get
public virtual YearMonthDuration ValueAsYearMonthDuration { get; }
public: virtual property YearMonthDuration ValueAsYearMonthDuration { YearMonthDuration get(); }
Property Value
Type: XmlPrime.YearMonthDurationXmlPrime.YearMonthDurationXmlPrime::YearMonthDuration
The item's value as a YearMonthDurationYearMonthDurationYearMonthDuration.
Exceptions
Exception | Condition |
OverflowExceptionOverflowExceptionOverflowException | The value was too large to be stored in a YearMonthDurationYearMonthDurationYearMonthDuration |
FormatExceptionFormatExceptionFormatException | The value was not a valid lexical value for xs:yearMonthDuration . |
InvalidCastExceptionInvalidCastExceptionInvalidCastException | The value cannot be cast to xs:yearMonthDuration . |