XmlDataContractSerializerOutputFormatter.CreateXmlWriter Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
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)
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 .
- xmlWriterSettings
- XmlWriterSettings
Devoluciones
Nueva instancia de XmlWriter
Se aplica a
CreateXmlWriter(OutputFormatterWriteContext, TextWriter, XmlWriterSettings)
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 .
- xmlWriterSettings
- XmlWriterSettings
Devoluciones
Nueva instancia de XmlWriter.