XdmWriter.Create Method (TextWriter, XmlNameTable, XdmWriterSettings)XdmWriter.Create Method (TextWriter, XmlNameTable, XdmWriterSettings)XdmWriter::Create Method (TextWriter^, XmlNameTable^, XdmWriterSettings^)

Creates an XdmWriterXdmWriterXdmWriter instance using the specified TextWriterTextWriterTextWriter, XML name table and XdmWriterSettingsXdmWriterSettingsXdmWriterSettings object.

Syntax

Public Shared Function Create( _
    textWriter As System.IO.TextWriter, _
    nameTable As System.Xml.XmlNameTable, _
    settings As XdmWriterSettings _
) As XdmWriter
public static XdmWriter Create(
    System.IO.TextWriter textWriter,
    System.Xml.XmlNameTable nameTable,
    XdmWriterSettings settings
)
public:
static XdmWriter^ Create(
    System.IO::TextWriter^ textWriter, 
    System.Xml::XmlNameTable^ nameTable, 
    XdmWriterSettings^ settings
)
 

Exceptions

ExceptionCondition
ArgumentNullExceptionArgumentNullExceptionArgumentNullException textWriter is null a null reference (Nothing in Visual Basic) nullptr.
XdmExceptionXdmExceptionXdmExceptionThere is an error with the serialization configuration.