GDay.Parse MethodGDay.Parse MethodGDay::Parse Method

Converts the lexical representation of an xs:gDay to its GDayGDayGDay equivalent.

Syntax

Public Shared Function Parse( _
    value As String _
) As GDay
public static GDay Parse(
    string value
)
public:
static GDay Parse(
    String^ value
)
 

Parameters

value

Type: System.StringSystem.StringSystem::String^

The lexical representation of the xs:gDay to convert.

Return Value

Type: XmlPrime.GDayXmlPrime.GDayXmlPrime::GDay

The GDayGDayGDay value equivalent to the xs:gDay represented by value.

Exceptions

ExceptionCondition
ArgumentNullExceptionArgumentNullExceptionArgumentNullExceptionvalue is null a null reference (Nothing in Visual Basic) nullptr.
FormatExceptionFormatExceptionFormatExceptionvalue is not a valid lexical representation of an xs:gDay.