XdmType.SchemaAttribute Method (string, string)XdmType.SchemaAttribute Method (String, String)XdmType::SchemaAttribute Method (String^, String^)

Creates a reference to the schema attribute type with the specified name.

Syntax

Public Shared Function SchemaAttribute( _
    attributeLocalName As String, _
    attributeNamespace As String _
) As XdmType
public static XdmType SchemaAttribute(
    string attributeLocalName,
    string attributeNamespace
)
public:
static XdmType^ SchemaAttribute(
    String^ attributeLocalName, 
    String^ attributeNamespace
)
 

Parameters

attributeLocalName

Type: System.StringSystem.StringSystem::String^

The local name of the schema attribute.

attributeNamespace

Type: System.StringSystem.StringSystem::String^

The namespace of the schema attribute.

Return Value

Type: XmlPrime.XdmTypeXmlPrime.XdmTypeXmlPrime::XdmType^

An XdmTypeXdmTypeXdmType instance representing the schema attribute type with the specified name.

Exceptions

ExceptionCondition
ArgumentNullExceptionArgumentNullExceptionArgumentNullException attributeLocalName or attributeNamespace is null a null reference (Nothing in Visual Basic) nullptr.

Remarks

This corresponds to the XPath 2.0 type schema-attribute(attributeName), where attributeName has local name and namespace attributeLocalName and attributeNamespace respectively.