XPathAtomicValue.ValueAsTimeWithZone PropertyXPathAtomicValue.ValueAsTimeWithZone PropertyXPathAtomicValue::ValueAsTimeWithZone Property

Gets the item's value as a TimeWithZoneTimeWithZoneTimeWithZone.

Syntax

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

Exceptions

ExceptionCondition
FormatExceptionFormatExceptionFormatExceptionThe value was not a valid lexical value for xs:time.
InvalidCastExceptionInvalidCastExceptionInvalidCastExceptionThe value cannot be cast to xs:time.