XPathAtomicValue.ValueAsGYear PropertyXPathAtomicValue.ValueAsGYear PropertyXPathAtomicValue::ValueAsGYear Property

Gets the item's value as a GYearGYearGYear.

Syntax

Public Overridable ReadOnly Property ValueAsGYear As GYear
        Get
public virtual GYear ValueAsGYear { get; }
public:
virtual property GYear ValueAsGYear {
    GYear get();
}
 

Property Value

Type: XmlPrime.GYearXmlPrime.GYearXmlPrime::GYear

The item's value as a GYearGYearGYear.

Exceptions

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