XmlDataContractSerializerOutputFormatter.CreateXmlWriter Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
CreateXmlWriter(TextWriter, XmlWriterSettings) |
Crea una nuova istanza di XmlWriter utilizzando l'oggetto TextWriter specificato e XmlWriterSettings. |
CreateXmlWriter(OutputFormatterWriteContext, TextWriter, XmlWriterSettings) |
Crea una nuova istanza di XmlWriter utilizzando l'oggetto TextWriter specificato e XmlWriterSettings. |
CreateXmlWriter(TextWriter, XmlWriterSettings)
Crea una nuova istanza di XmlWriter utilizzando l'oggetto TextWriter specificato e 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
Parametri
- writer
- TextWriter
Oggetto sottostante TextWriter in cui deve essere scritto l'oggetto XmlWriter .
- xmlWriterSettings
- XmlWriterSettings
Oggetto XmlWriterSettings.
Restituisce
Nuova istanza di XmlWriter
Si applica a
CreateXmlWriter(OutputFormatterWriteContext, TextWriter, XmlWriterSettings)
Crea una nuova istanza di XmlWriter utilizzando l'oggetto TextWriter specificato e 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
Parametri
- context
- OutputFormatterWriteContext
Contesto del formattatore associato alla chiamata.
- writer
- TextWriter
Oggetto sottostante TextWriter in cui deve essere scritto l'oggetto XmlWriter .
- xmlWriterSettings
- XmlWriterSettings
Oggetto XmlWriterSettings.
Restituisce
Nuova istanza di XmlWriter.