XmlDataContractSerializerOutputFormatter.CreateXmlWriter Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
CreateXmlWriter(TextWriter, XmlWriterSettings) |
Cria uma nova instância do XmlWriter usando o determinado TextWriter e XmlWriterSettingso . |
CreateXmlWriter(OutputFormatterWriteContext, TextWriter, XmlWriterSettings) |
Cria uma nova instância do XmlWriter usando o determinado TextWriter e XmlWriterSettingso . |
CreateXmlWriter(TextWriter, XmlWriterSettings)
Cria uma nova instância do XmlWriter usando o determinado TextWriter e XmlWriterSettingso .
public:
virtual System::Xml::XmlWriter ^ CreateXmlWriter(System::IO::TextWriter ^ writer, System::Xml::XmlWriterSettings ^ xmlWriterSettings);
public virtual System.Xml.XmlWriter CreateXmlWriter (System.IO.TextWriter writer, System.Xml.XmlWriterSettings xmlWriterSettings);
abstract member CreateXmlWriter : System.IO.TextWriter * System.Xml.XmlWriterSettings -> System.Xml.XmlWriter
override this.CreateXmlWriter : System.IO.TextWriter * System.Xml.XmlWriterSettings -> System.Xml.XmlWriter
Public Overridable Function CreateXmlWriter (writer As TextWriter, xmlWriterSettings As XmlWriterSettings) As XmlWriter
Parâmetros
- writer
- TextWriter
O subjacente TextWriter no qual o XmlWriter deve gravar.
- xmlWriterSettings
- XmlWriterSettings
Retornos
Uma nova instância do XmlWriter
Aplica-se a
CreateXmlWriter(OutputFormatterWriteContext, TextWriter, XmlWriterSettings)
Cria uma nova instância do XmlWriter usando o determinado TextWriter e XmlWriterSettingso .
public:
virtual System::Xml::XmlWriter ^ CreateXmlWriter(Microsoft::AspNetCore::Mvc::Formatters::OutputFormatterWriteContext ^ context, System::IO::TextWriter ^ writer, System::Xml::XmlWriterSettings ^ xmlWriterSettings);
public virtual System.Xml.XmlWriter CreateXmlWriter (Microsoft.AspNetCore.Mvc.Formatters.OutputFormatterWriteContext context, System.IO.TextWriter writer, System.Xml.XmlWriterSettings xmlWriterSettings);
abstract member CreateXmlWriter : Microsoft.AspNetCore.Mvc.Formatters.OutputFormatterWriteContext * System.IO.TextWriter * System.Xml.XmlWriterSettings -> System.Xml.XmlWriter
override this.CreateXmlWriter : Microsoft.AspNetCore.Mvc.Formatters.OutputFormatterWriteContext * System.IO.TextWriter * System.Xml.XmlWriterSettings -> System.Xml.XmlWriter
Public Overridable Function CreateXmlWriter (context As OutputFormatterWriteContext, writer As TextWriter, xmlWriterSettings As XmlWriterSettings) As XmlWriter
Parâmetros
- context
- OutputFormatterWriteContext
O contexto de formatador associado à chamada.
- writer
- TextWriter
O subjacente TextWriter no qual o XmlWriter deve gravar.
- xmlWriterSettings
- XmlWriterSettings
Retornos
Uma nova instância de XmlWriter.