Udostępnij za pośrednictwem


XmlDataContractSerializerOutputFormatter.CreateXmlWriter Metoda

Definicja

Przeciążenia

CreateXmlWriter(TextWriter, XmlWriterSettings)

Tworzy nowe wystąpienie XmlWriter przy użyciu danego TextWriter elementu i XmlWriterSettings.

CreateXmlWriter(OutputFormatterWriteContext, TextWriter, XmlWriterSettings)

Tworzy nowe wystąpienie XmlWriter przy użyciu danego TextWriter elementu i XmlWriterSettings.

CreateXmlWriter(TextWriter, XmlWriterSettings)

Źródło:
XmlDataContractSerializerOutputFormatter.cs
Źródło:
XmlDataContractSerializerOutputFormatter.cs
Źródło:
XmlDataContractSerializerOutputFormatter.cs

Tworzy nowe wystąpienie XmlWriter przy użyciu danego TextWriter elementu i 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

Element bazowy TextWriter , do którego XmlWriter powinien być zapisywany.

xmlWriterSettings
XmlWriterSettings

Element XmlWriterSettings.

Zwraca

Nowe wystąpienie XmlWriter

Dotyczy

CreateXmlWriter(OutputFormatterWriteContext, TextWriter, XmlWriterSettings)

Źródło:
XmlDataContractSerializerOutputFormatter.cs
Źródło:
XmlDataContractSerializerOutputFormatter.cs
Źródło:
XmlDataContractSerializerOutputFormatter.cs

Tworzy nowe wystąpienie XmlWriter przy użyciu danego TextWriter elementu i 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

Kontekst formatujący skojarzony z wywołaniem.

writer
TextWriter

Element bazowy TextWriter , do którego XmlWriter powinien być zapisywany.

xmlWriterSettings
XmlWriterSettings

Element XmlWriterSettings.

Zwraca

Nowe wystąpienie elementu XmlWriter.

Dotyczy