XdmEditableDocument Constructor (string, XmlReader)XdmEditableDocument Constructor (String, XmlReader)XdmEditableDocument Constructor (String^, XmlReader^)
- XmlPrime 2.4
- Other Versions ▼
Initializes a new instance of the XdmEditableDocumentXdmEditableDocumentXdmEditableDocument class from the XML data that is contained in
the specified XmlReaderXmlReaderXmlReader object, with the specified document URI.
Syntax
Public Sub New ( _ uri As String, _ xmlReader As System.Xml.XmlReader _ )
public XdmEditableDocument( string uri, System.Xml.XmlReader xmlReader )
public: XdmEditableDocument( String^ uri, System.Xml::XmlReader^ xmlReader )
Parameters
- uri
Type: System.StringSystem.StringSystem::String^
The URI of the document (this overrides the base URI in the XML reader).
- xmlReader
Type: System.Xml.XmlReaderSystem.Xml.XmlReaderSystem.Xml::XmlReader^
The XmlReaderXmlReaderXmlReader from which to read the document.
Exceptions
Exception | Condition |
ArgumentNullExceptionArgumentNullExceptionArgumentNullException | xmlReader is null
a null reference (Nothing in Visual Basic)
nullptr . |
LicenceExceptionLicenceExceptionLicenceException | This version of XmlPrime has expired. |
XmlExceptionXmlExceptionXmlException | An error was encountered in the XML data. |