XdmDocument Constructor (XmlReader)XdmDocument Constructor (XmlReader)XdmDocument Constructor (XmlReader^)

Initializes a new instance of the XdmDocumentXdmDocumentXdmDocument class from the XML data that is contained in the specified XmlReaderXmlReaderXmlReader object.

Syntax

Public Sub New ( _
    xmlReader As System.Xml.XmlReader _
)
public XdmDocument(
    System.Xml.XmlReader xmlReader
)
public:
XdmDocument(
    System.Xml::XmlReader^ xmlReader
)
 

Parameters

xmlReader

Type: System.Xml.XmlReaderSystem.Xml.XmlReaderSystem.Xml::XmlReader^

The XmlReaderXmlReaderXmlReader from which to read the document.

Exceptions

ExceptionCondition
ArgumentNullExceptionArgumentNullExceptionArgumentNullExceptionxmlReader is null a null reference (Nothing in Visual Basic) nullptr.
LicenceExceptionLicenceExceptionLicenceExceptionThis version of XmlPrime has expired.
XmlExceptionXmlExceptionXmlExceptionAn error was encountered in the XML data.