Partilhar via


XmlDictionaryWriter.CreateDictionaryWriter(XmlWriter) Método

Definição

Cria uma instância de XmlDictionaryWriter com base em um XmlWriter existente.

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

Parâmetros

writer
XmlWriter

Uma instância de XmlWriter.

Retornos

XmlDictionaryWriter

Uma instância de XmlDictionaryWriter.

Exceções

writer é null.

Aplica-se a