Aracılığıyla paylaş


XmlDataContractSerializerOutputFormatter.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:
XmlDataContractSerializerOutputFormatter.cs
Kaynak:
XmlDataContractSerializerOutputFormatter.cs
Kaynak:
XmlDataContractSerializerOutputFormatter.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 örnek: XmlWriter

Şunlara uygulanır

CreateXmlWriter(OutputFormatterWriteContext, TextWriter, XmlWriterSettings)

Kaynak:
XmlDataContractSerializerOutputFormatter.cs
Kaynak:
XmlDataContractSerializerOutputFormatter.cs
Kaynak:
XmlDataContractSerializerOutputFormatter.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

Yeni bir XmlWriter örneği.

Şunlara uygulanır