Language

XmlSerializerOutputFormatter.CreateXmlWriter メソッド

定義

オーバーロード

名前 説明
CreateXmlWriter(TextWriter, XmlWriterSettings)

指定TextWriterした と XmlWriterSettingsを使用して のXmlWriter新しいインスタンスを作成します。

CreateXmlWriter(OutputFormatterWriteContext, TextWriter, XmlWriterSettings)

指定TextWriterした と XmlWriterSettingsを使用して のXmlWriter新しいインスタンスを作成します。

CreateXmlWriter(TextWriter, XmlWriterSettings)

ソース:
XmlSerializerOutputFormatter.cs
ソース:
XmlSerializerOutputFormatter.cs
ソース:
XmlSerializerOutputFormatter.cs

指定TextWriterした と XmlWriterSettingsを使用して のXmlWriter新しいインスタンスを作成します。

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

パラメーター

writer
TextWriter

を書き込むXmlWriter基になる TextWriter 。

xmlWriterSettings
XmlWriterSettings

XmlWriterSettings。

返品

XmlWriter の新しいインスタンス。

適用対象

CreateXmlWriter(OutputFormatterWriteContext, TextWriter, XmlWriterSettings)

ソース:
XmlSerializerOutputFormatter.cs
ソース:
XmlSerializerOutputFormatter.cs
ソース:
XmlSerializerOutputFormatter.cs

指定TextWriterした と XmlWriterSettingsを使用して のXmlWriter新しいインスタンスを作成します。

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

パラメーター

context
OutputFormatterWriteContext

呼び出しに関連付けられているフォーマッタ コンテキスト。

writer
TextWriter

を書き込むXmlWriter基になる TextWriter 。

xmlWriterSettings
XmlWriterSettings

XmlWriterSettings。

返品

の新しいインスタンス XmlWriter

適用対象