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