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