Editar

Partilhar via


XmlDictionaryWriter.CreateDictionaryWriter(XmlWriter) Method

Definition

Creates an instance of XmlDictionaryWriter from an existing XmlWriter.

public:
 static System::Xml::XmlDictionaryWriter ^ CreateDictionaryWriter(System::Xml::XmlWriter ^ writer);
public static System.Xml.XmlDictionaryWriter CreateDictionaryWriter (System.Xml.XmlWriter writer);
static member CreateDictionaryWriter : System.Xml.XmlWriter -> System.Xml.XmlDictionaryWriter
Public Shared Function CreateDictionaryWriter (writer As XmlWriter) As XmlDictionaryWriter

Parameters

writer
XmlWriter

An instance of XmlWriter.

Returns

An instance of XmlDictionaryWriter.

Exceptions

writer is null.

Applies to