XmlDataContractSerializerOutputFormatter.CreateXmlWriter Metoda
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Přetížení
| CreateXmlWriter(TextWriter, XmlWriterSettings) |
Vytvoří novou instanci s použitím dané TextWriter instance XmlWriter a XmlWriterSettings. |
| CreateXmlWriter(OutputFormatterWriteContext, TextWriter, XmlWriterSettings) |
Vytvoří novou instanci s použitím dané TextWriter instance XmlWriter a XmlWriterSettings. |
CreateXmlWriter(TextWriter, XmlWriterSettings)
Vytvoří novou instanci s použitím dané TextWriter instance XmlWriter a 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
Parametry
- writer
- TextWriter
Podklad TextWriter , do kterého XmlWriter se má zapisovat.
- xmlWriterSettings
- XmlWriterSettings
Hodnota XmlWriterSettings
Návraty
Nová instance XmlWriter
Platí pro
CreateXmlWriter(OutputFormatterWriteContext, TextWriter, XmlWriterSettings)
Vytvoří novou instanci s použitím dané TextWriter instance XmlWriter a 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
Parametry
- context
- OutputFormatterWriteContext
Kontext formátovače přidružený k volání.
- writer
- TextWriter
Podklad TextWriter , do kterého XmlWriter se má zapisovat.
- xmlWriterSettings
- XmlWriterSettings
Hodnota XmlWriterSettings
Návraty
Nová instance XmlWriter.