Aracılığıyla paylaş


XmlSerializerOutputFormatter.CreateXmlWriter Yöntem

Tanım

Aşırı Yüklemeler

CreateXmlWriter(TextWriter, XmlWriterSettings)

Verilen TextWriter ve XmlWriterSettingskullanarak yeni bir örneği XmlWriter oluşturur.

CreateXmlWriter(OutputFormatterWriteContext, TextWriter, XmlWriterSettings)

Verilen TextWriter ve XmlWriterSettingskullanarak yeni bir örneği XmlWriter oluşturur.

CreateXmlWriter(TextWriter, XmlWriterSettings)

Kaynak:
XmlSerializerOutputFormatter.cs
Kaynak:
XmlSerializerOutputFormatter.cs
Kaynak:
XmlSerializerOutputFormatter.cs

Verilen TextWriter ve XmlWriterSettingskullanarak yeni bir örneği XmlWriter oluşturur.

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

Parametreler

writer
TextWriter

Yazılması gereken temel TextWriterXmlWriter .

Döndürülenler

Yeni bir XmlWriter örneği.

Şunlara uygulanır

CreateXmlWriter(OutputFormatterWriteContext, TextWriter, XmlWriterSettings)

Kaynak:
XmlSerializerOutputFormatter.cs
Kaynak:
XmlSerializerOutputFormatter.cs
Kaynak:
XmlSerializerOutputFormatter.cs

Verilen TextWriter ve XmlWriterSettingskullanarak yeni bir örneği XmlWriter oluşturur.

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

Parametreler

context
OutputFormatterWriteContext

Çağrıyla ilişkili biçimlendirici bağlamı.

writer
TextWriter

Yazılması gereken temel TextWriterXmlWriter .

Döndürülenler

Öğesinin yeni bir örneği XmlWriter

Şunlara uygulanır