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