XdmType.Attribute Method (XmlQualifiedName)XdmType.Attribute Method (XmlQualifiedName)XdmType::Attribute Method (XmlQualifiedName^)
Returns an XdmTypeXdmTypeXdmType instance corresponding to the attribute type with the specified name.
Syntax
Public Shared Function Attribute( _ attributeName As System.Xml.XmlQualifiedName _ ) As XdmType
public static XdmType Attribute( System.Xml.XmlQualifiedName attributeName )
public: static XdmType^ Attribute( System.Xml::XmlQualifiedName^ attributeName )
Parameters
- attributeName
Type: System.Xml.XmlQualifiedNameSystem.Xml.XmlQualifiedNameSystem.Xml::XmlQualifiedName^
The name of attributes matching this type, or
null
a null reference (Nothing
in Visual Basic)nullptr
for a type matching all attribute names.
Return Value
Type: XmlPrime.XdmTypeXmlPrime.XdmTypeXmlPrime::XdmType^
An XdmTypeXdmTypeXdmType instance representing the attribute type with the specified name.
Exceptions
Exception | Condition |
ArgumentExceptionArgumentExceptionArgumentException | attributeName is not a valid xs:QName value. |
Remarks
This corresponds to the XPath 2.0 typeattribute( )
,
or attribute()
if attributeName is null
a null reference (Nothing
in Visual Basic)
nullptr