XdmDocumentWriter.Create Method (XmlNameTable, string)XdmDocumentWriter.Create Method (XmlNameTable, String)XdmDocumentWriter::Create Method (XmlNameTable^, String^)

Creates a XdmDocumentWriterXdmDocumentWriterXdmDocumentWriter to write to an XdmDocumentXdmDocumentXdmDocument with the specified document URI and name table.

Syntax

Public Shared Function Create( _
    nameTable As System.Xml.XmlNameTable, _
    documentUri As String _
) As XdmDocumentWriter
public static XdmDocumentWriter Create(
    System.Xml.XmlNameTable nameTable,
    string documentUri
)
public:
static XdmDocumentWriter^ Create(
    System.Xml::XmlNameTable^ nameTable, 
    String^ documentUri
)
 

Parameters

nameTable

Type: System.Xml.XmlNameTableSystem.Xml.XmlNameTableSystem.Xml::XmlNameTable^

The name table.

documentUri

Type: System.StringSystem.StringSystem::String^

The document URI.

Remarks

If nameTable is null a null reference (Nothing in Visual Basic) nullptr then a new NameTableNameTableNameTable instance will be used. If documentUri is null a null reference (Nothing in Visual Basic) nullptr then the document created will have an empty document URI.