Compartir a través de


XmlSerializerOutputFormatter.CreateXmlWriter Método

Definición

Sobrecargas

CreateXmlWriter(TextWriter, XmlWriterSettings)

Crea una nueva instancia de XmlWriter con los valores especificados TextWriter y XmlWriterSettings.

CreateXmlWriter(OutputFormatterWriteContext, TextWriter, XmlWriterSettings)

Crea una nueva instancia de XmlWriter con los valores especificados TextWriter y XmlWriterSettings.

CreateXmlWriter(TextWriter, XmlWriterSettings)

Source:
XmlSerializerOutputFormatter.cs
Source:
XmlSerializerOutputFormatter.cs
Source:
XmlSerializerOutputFormatter.cs

Crea una nueva instancia de XmlWriter con los valores especificados TextWriter y XmlWriterSettings.

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

Subyacente TextWriter en el que se debe escribir .XmlWriter

Devoluciones

Nueva instancia de XmlWriter.

Se aplica a

CreateXmlWriter(OutputFormatterWriteContext, TextWriter, XmlWriterSettings)

Source:
XmlSerializerOutputFormatter.cs
Source:
XmlSerializerOutputFormatter.cs
Source:
XmlSerializerOutputFormatter.cs

Crea una nueva instancia de XmlWriter con los valores especificados TextWriter y XmlWriterSettings.

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

Contexto del formateador asociado a la llamada.

writer
TextWriter

Subyacente TextWriter en el que se debe escribir .XmlWriter

Devoluciones

Nueva instancia de XmlWriter

Se aplica a