XdmType.Parse Method (string, XPathVersion)XdmType.Parse Method (String, XPathVersion)XdmType::Parse Method (String^, XPathVersion)
- XmlPrime 4.0
- Other Versions ▼
Returns an XdmTypeXdmTypeXdmType which represents the specified type name according to the specified XPathVersionXPathVersionXPathVersion.
Syntax
Public Shared Function Parse( _ typeName As String, _ version As XPathVersion _ ) As XdmType
public static XdmType Parse( string typeName, XPathVersion version )
public: static XdmType^ Parse( String^ typeName, XPathVersion version )
Parameters
- typeName
Type: System.StringSystem.StringSystem::String^
The type name.
- version
Type: XmlPrime.XPathVersionXmlPrime.XPathVersionXmlPrime::XPathVersion
The XPath specification version.
Return Value
Type: XmlPrime.XdmTypeXmlPrime.XdmTypeXmlPrime::XdmType^
An XdmTypeXdmTypeXdmType instance representing the specified type.
Exceptions
Exception | Condition |
ArgumentNullExceptionArgumentNullExceptionArgumentNullException | typeName is null
a null reference (Nothing in Visual Basic)
nullptr . |
XdmExceptionXdmExceptionXdmException | An error occurred whilst parsing the type name. |