XdmType.Parse Method (string, IXmlNamespaceResolver, XmlSchemaSet)XdmType.Parse Method (String, IXmlNamespaceResolver, XmlSchemaSet)XdmType::Parse Method (String^, IXmlNamespaceResolver^, XmlSchemaSet^)

Returns an XdmTypeXdmTypeXdmType which represents the specified type name.

Syntax

Public Shared Function Parse( _
    typeName As String, _
    namespaces As System.Xml.IXmlNamespaceResolver, _
    schemaSet As System.Xml.Schema.XmlSchemaSet _
) As XdmType
public static XdmType Parse(
    string typeName,
    System.Xml.IXmlNamespaceResolver namespaces,
    System.Xml.Schema.XmlSchemaSet schemaSet
)
public:
static XdmType^ Parse(
    String^ typeName, 
    System.Xml::IXmlNamespaceResolver^ namespaces, 
    System.Xml.Schema::XmlSchemaSet^ schemaSet
)
 

Parameters

typeName

Type: System.StringSystem.StringSystem::String^

The type name.

namespaces

Type: System.Xml.IXmlNamespaceResolverSystem.Xml.IXmlNamespaceResolverSystem.Xml::IXmlNamespaceResolver^

The in-scope namespaces to use to parse the type.

schemaSet

Type: System.Xml.Schema.XmlSchemaSetSystem.Xml.Schema.XmlSchemaSetSystem.Xml.Schema::XmlSchemaSet^

The schema set to use to lookup schema types.

Return Value

Type: XmlPrime.XdmTypeXmlPrime.XdmTypeXmlPrime::XdmType^

An XdmTypeXdmTypeXdmType instance representing the specified type.

Exceptions

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