Compartir a través de


XmlDataContractSerializerOutputFormatter.CreateXmlWriter Método

Definición

Sobrecargas

CreateXmlWriter(TextWriter, XmlWriterSettings)

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

CreateXmlWriter(OutputFormatterWriteContext, TextWriter, XmlWriterSettings)

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

CreateXmlWriter(TextWriter, XmlWriterSettings)

Source:
XmlDataContractSerializerOutputFormatter.cs
Source:
XmlDataContractSerializerOutputFormatter.cs
Source:
XmlDataContractSerializerOutputFormatter.cs

Crea una nueva instancia de XmlWriter mediante 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 XmlWriter que se debe escribir .

Devoluciones

Nueva instancia de XmlWriter

Se aplica a

CreateXmlWriter(OutputFormatterWriteContext, TextWriter, XmlWriterSettings)

Source:
XmlDataContractSerializerOutputFormatter.cs
Source:
XmlDataContractSerializerOutputFormatter.cs
Source:
XmlDataContractSerializerOutputFormatter.cs

Crea una nueva instancia de XmlWriter mediante 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 XmlWriter que se debe escribir .

Devoluciones

Nueva instancia de XmlWriter.

Se aplica a