TimeWithZone.Parse MethodTimeWithZone.Parse MethodTimeWithZone::Parse Method
Converts a lexical representation of an
xs:time to its TimeWithZoneTimeWithZoneTimeWithZone equivalent.
Syntax
Public Shared Function Parse( _ value As String _ ) As TimeWithZone
public static TimeWithZone Parse( string value )
public: static TimeWithZone Parse( String^ value )
Parameters
- value
Type: System.StringSystem.StringSystem::String^
The lexical representation of an
xs:timeto convert.
Return Value
Type: XmlPrime.TimeWithZoneXmlPrime.TimeWithZoneXmlPrime::TimeWithZone
The TimeWithZoneTimeWithZoneTimeWithZone equivalent to the xs:time represented by value.
Exceptions
| Exception | Condition |
| ArgumentNullExceptionArgumentNullExceptionArgumentNullException | value is null
a null reference (Nothing in Visual Basic)
nullptr. |
| FormatExceptionFormatExceptionFormatException | value is not a valid lexical value of an xs:time. |
