XdmWriter.Create Method (TextWriter, XmlNameTable)XdmWriter.Create Method (TextWriter, XmlNameTable)XdmWriter::Create Method (TextWriter^, XmlNameTable^)
- XmlPrime 1.1
- Other Versions ▼
Creates an XdmWriterXdmWriterXdmWriter using the specified TextWriterTextWriterTextWriter and XML name table.
- Namespace: XmlPrime.SerializationXmlPrime.SerializationXmlPrime.Serialization
- Assembly: XmlPrime (in XmlPrime.dll)
Syntax
Public Shared Function Create( _ textWriter As System.IO.TextWriter, _ nameTable As System.Xml.XmlNameTable _ ) As XdmWriter
public static XdmWriter Create( System.IO.TextWriter textWriter, System.Xml.XmlNameTable nameTable )
public: static XdmWriter^ Create( System.IO::TextWriter^ textWriter, System.Xml::XmlNameTable^ nameTable )
Parameters
- textWriter
Type: System.IO.TextWriterSystem.IO.TextWriterSystem.IO::TextWriter^
The TextWriterTextWriterTextWriter to write to.
- nameTable
Type: System.Xml.XmlNameTableSystem.Xml.XmlNameTableSystem.Xml::XmlNameTable^
The name table used for element names.
Return Value
Type: XmlPrime.Serialization.XdmWriterXmlPrime.Serialization.XdmWriterXmlPrime.Serialization::XdmWriter^
Exceptions
Exception | Condition |
ArgumentNullExceptionArgumentNullExceptionArgumentNullException |
textWriter or nameTable is null
a null reference (Nothing in Visual Basic)
nullptr .
|
XdmExceptionXdmExceptionXdmException | There is an error with the serialization configuration. |