GDay.TryParse MethodGDay.TryParse MethodGDay::TryParse Method
Converts a lexical representation of an
xs:gDay
to its GDayGDayGDay equivalent.
A return value indicates whether the conversion succeeded or failed.
Parameters
- value
Type: System.StringSystem.StringSystem::String^
The lexical representation of an
xs:gDay
to convert.- result
Type: out XmlPrime.GDayByRef XmlPrime.GDayXmlPrime::GDay%
When this method returns, contains the GDayGDayGDay value equivalent to the representation represented by value if parsing succeeded. Otherwise the value is undefined.
Return Value
Type: System.BooleanSystem.BooleanSystem::Boolean
true
True
true
if the conversion succeeded; otherwise false
False
false
.
Exceptions
Exception | Condition |
ArgumentNullExceptionArgumentNullExceptionArgumentNullException | value is null
a null reference (Nothing in Visual Basic)
nullptr . |