XdmType.Attribute Method (string, string)XdmType.Attribute Method (String, String)XdmType::Attribute Method (String^, String^)
Returns an XdmTypeXdmTypeXdmType instance corresponding to the attribute type with the specified name.
Syntax
Parameters
- attributeLocalName
Type: System.StringSystem.StringSystem::String^
The local name of the attribute.
- attributeNamespace
Type: System.StringSystem.StringSystem::String^
The namespace of the attribute.
Return Value
Type: XmlPrime.XdmTypeXmlPrime.XdmTypeXmlPrime::XdmType^
An XdmTypeXdmTypeXdmType instance representing the attribute type with the specified name.
Exceptions
Exception | Condition |
ArgumentNullExceptionArgumentNullExceptionArgumentNullException |
attributeLocalName or attributeNamespace is null
a null reference (Nothing in Visual Basic)
nullptr .
|
ArgumentExceptionArgumentExceptionArgumentException | attributeLocalName is not a valid xs:NCName value. |
Remarks
This corresponds to the XPath 2.0 typeattribute(name)
, where name
is has local name and
namespace specified by attributeLocalName and attributeNamespace
respectively.