XPathAtomicValue.ValueAsDateWithZone PropertyXPathAtomicValue.ValueAsDateWithZone PropertyXPathAtomicValue::ValueAsDateWithZone Property

Gets the item's value as a DateWithZoneDateWithZoneDateWithZone.

Syntax

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

Exceptions

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