GYear.Parse MethodGYear.Parse MethodGYear::Parse Method
Parameters
- value
Type: System.StringSystem.StringSystem::String^
The lexical representation of the
xs:gYear
to convert.
Return Value
Type: XmlPrime.GYearXmlPrime.GYearXmlPrime::GYear
The GYearGYearGYear value equivalent to the xs:gYear
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 representation of an xs:gYear . |
OverflowExceptionOverflowExceptionOverflowException | The year is outside the range MinYearMinYearMinYear to MaxYearMaxYearMaxYear |