XdmType.SchemaDocument MethodXdmType.SchemaDocument MethodXdmType::SchemaDocument Method
Returns an XdmTypeXdmTypeXdmType instance corresponding to the document type with the specified schema element content.
Syntax
Public Shared Function SchemaDocument( _ element As System.Xml.Schema.XmlSchemaElement _ ) As XdmType
public static XdmType SchemaDocument( System.Xml.Schema.XmlSchemaElement element )
public: static XdmType^ SchemaDocument( System.Xml.Schema::XmlSchemaElement^ element )
Parameters
- element
Type: System.Xml.Schema.XmlSchemaElementSystem.Xml.Schema.XmlSchemaElementSystem.Xml.Schema::XmlSchemaElement^
The schema element that corresponds to the document's type.
Return Value
Type: XmlPrime.XdmTypeXmlPrime.XdmTypeXmlPrime::XdmType^
An XdmTypeXdmTypeXdmType instance representing the document type with the specified schema element content.
Exceptions
Exception | Condition |
ArgumentNullExceptionArgumentNullExceptionArgumentNullException |
element is null
a null reference (Nothing in Visual Basic)
nullptr .
|
Remarks
This corresponds to the XPath 2.0 typedocument-node(schema-element( ))
.