TimeZone.Parse MethodTimeZone.Parse MethodTimeZone::Parse Method
Parameters
- value
Type: System.StringSystem.StringSystem::String^
The lexical value to convert.
Return 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 a time zone. |
Remarks
The lexical representation is as parsing a time zone from anxs:dateTime. It is in the format
(('+' | '-') hh ':' mm) | 'Z'
