XdmType.GetBuiltInType MethodXdmType.GetBuiltInType MethodXdmType::GetBuiltInType Method

Gets an XdmTypeXdmTypeXdmType corresponding to the built-in type with the specified XmlTypeCodeXmlTypeCodeXmlTypeCode.

Syntax

Public Shared Function GetBuiltInType( _
    typeCode As System.Xml.Schema.XmlTypeCode _
) As XdmType
public static XdmType GetBuiltInType(
    System.Xml.Schema.XmlTypeCode typeCode
)
public:
static XdmType^ GetBuiltInType(
    System.Xml.Schema::XmlTypeCode typeCode
)
 

Return Value

Type: XmlPrime.XdmTypeXmlPrime.XdmTypeXmlPrime::XdmType^

An XdmTypeXdmTypeXdmType instance corresponding to the built-in type represented by typeCode.

Exceptions

ExceptionCondition
ArgumentExceptionArgumentExceptionArgumentException typeCode is not a valid XmlTypeCodeXmlTypeCodeXmlTypeCode value.