XdmType.SchemaElement MethodXdmType.SchemaElement MethodXdmType::SchemaElement Method

Returns an XdmTypeXdmTypeXdmType instance corresponding to the specified schema element type.

Syntax

Public Shared Function SchemaElement( _
    element As System.Xml.Schema.XmlSchemaElement _
) As XdmType
public static XdmType SchemaElement(
    System.Xml.Schema.XmlSchemaElement element
)
public:
static XdmType^ SchemaElement(
    System.Xml.Schema::XmlSchemaElement^ element
)
 

Return Value

Type: XmlPrime.XdmTypeXmlPrime.XdmTypeXmlPrime::XdmType^

An XdmTypeXdmTypeXdmType instance representing the specified schema element type.

Exceptions

ExceptionCondition
ArgumentNullExceptionArgumentNullExceptionArgumentNullException element is null a null reference (Nothing in Visual Basic) nullptr.

Remarks

This corresponds to the XPath 2.0 type schema-element( ).