XdmType.SchemaDocument Method (XmlQualifiedName)XdmType.SchemaDocument Method (XmlQualifiedName)XdmType::SchemaDocument Method (XmlQualifiedName^)
- XmlPrime 2.1
- Other Versions ▼
Creates a reference to the document type with schema element content with the specified name.
Syntax
Public Shared Function SchemaDocument( _ elementName As System.Xml.XmlQualifiedName _ ) As XdmType
public static XdmType SchemaDocument( System.Xml.XmlQualifiedName elementName )
public: static XdmType^ SchemaDocument( System.Xml::XmlQualifiedName^ elementName )
Parameters
- elementName
Type: System.Xml.XmlQualifiedNameSystem.Xml.XmlQualifiedNameSystem.Xml::XmlQualifiedName^
The name of the root element of the document.
Return Value
Type: XmlPrime.XdmTypeXmlPrime.XdmTypeXmlPrime::XdmType^
An XdmTypeXdmTypeXdmType instance representing the document type with schema element content with the specified name.
Exceptions
Exception | Condition |
ArgumentNullExceptionArgumentNullExceptionArgumentNullException |
elementName is null
a null reference (Nothing in Visual Basic)
nullptr .
|
Remarks
This corresponds to the XPath 2.0 typedocument-node(schema-element( ))
.