XdmType.Parse Method (string)XdmType.Parse Method (String)XdmType::Parse Method (String^)

Returns an XdmTypeXdmTypeXdmType which represents the specified type name.

Syntax

Public Shared Function Parse( _
    typeName As String _
) As XdmType
public static XdmType Parse(
    string typeName
)
public:
static XdmType^ Parse(
    String^ typeName
)
 

Parameters

typeName

Type: System.StringSystem.StringSystem::String^

The type name.

Return Value

Type: XmlPrime.XdmTypeXmlPrime.XdmTypeXmlPrime::XdmType^

An XdmTypeXdmTypeXdmType instance representing the specified type.

Exceptions

ExceptionCondition
ArgumentNullExceptionArgumentNullExceptionArgumentNullExceptiontypeName is null a null reference (Nothing in Visual Basic) nullptr.
XdmExceptionXdmExceptionXdmExceptionAn error occurred whilst parsing the type name.

Remarks

The in-scope namespaces available for use in the type name are those available by default in XQuery.