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