XdmType.Attribute Method (string, string, string, string)XdmType.Attribute Method (String, String, String, String)XdmType::Attribute Method (String^, String^, String^, String^)
- XmlPrime 2.1
- Other Versions ▼
Creates a reference to the attribute type with the specified name and type annotation 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.
- typeAnnotationLocalName
Type: System.StringSystem.StringSystem::String^
The local name of the type annotation.
- typeAnnotationNamespace
Type: System.StringSystem.StringSystem::String^
The namespace of the type annotation.
Return Value
Type: XmlPrime.XdmTypeXmlPrime.XdmTypeXmlPrime::XdmType^
An XdmTypeXdmTypeXdmType instance representing the attribute type with the specified name and type.
Exceptions
Exception | Condition |
ArgumentNullExceptionArgumentNullExceptionArgumentNullException |
attributeLocalName, attributeNamespace,
typeAnnotationLocalName or typeAnnotationNamespace is
null
a null reference (Nothing in Visual Basic)
nullptr .
|
Remarks
This is equivalent to the XPath 2.0 typeattribute(attributeName, typeAnnotationName)
where
attributeName
has local name and namespace specified by attributeLocalName and
attributeNamespace, and typeAnnotationName
has local name and namespace specified
by typeAnnotationLocalName and typeAnnotationNamespace
respectively.