XdmType.SchemaAttribute MethodXdmType.SchemaAttribute MethodXdmType::SchemaAttribute Method

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

Syntax

Public Shared Function SchemaAttribute( _
    attribute As System.Xml.Schema.XmlSchemaAttribute _
) As XdmType
public static XdmType SchemaAttribute(
    System.Xml.Schema.XmlSchemaAttribute attribute
)
public:
static XdmType^ SchemaAttribute(
    System.Xml.Schema::XmlSchemaAttribute^ attribute
)
 

Return Value

Type: XmlPrime.XdmTypeXmlPrime.XdmTypeXmlPrime::XdmType^

An XdmTypeXdmTypeXdmType instance representing the specified schema attribute type.

Exceptions

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

Remarks

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