言語

XamlXmlWriter コンストラクター

定義

XamlXmlWriter クラスの新しいインスタンスを初期化します。

オーバーロード

名前 説明
XamlXmlWriter(Stream, XamlSchemaContext)

ストリームから XamlXmlWriter クラスの新しいインスタンスを初期化します。

XamlXmlWriter(TextWriter, XamlSchemaContext)

XamlXmlWriter クラスの新しいインスタンスをTextWriterベースで初期化します。

XamlXmlWriter(XmlWriter, XamlSchemaContext)

XamlXmlWriter クラスの新しいインスタンスをXmlWriterベースで初期化します。

XamlXmlWriter(Stream, XamlSchemaContext, XamlXmlWriterSettings)

ライター設定オブジェクトを使用して、ストリームから XamlXmlWriter クラスの新しいインスタンスを初期化します。

XamlXmlWriter(TextWriter, XamlSchemaContext, XamlXmlWriterSettings)

設定オブジェクトを使用して、 XamlXmlWriter クラスの新しいインスタンスを TextWriter ベースで初期化します。

XamlXmlWriter(XmlWriter, XamlSchemaContext, XamlXmlWriterSettings)

設定オブジェクトを使用して、 XamlXmlWriter クラスの新しいインスタンスを XmlWriter ベースで初期化します。

XamlXmlWriter(Stream, XamlSchemaContext)

ストリームから XamlXmlWriter クラスの新しいインスタンスを初期化します。

public:
 XamlXmlWriter(System::IO::Stream ^ stream, System::Xaml::XamlSchemaContext ^ schemaContext);
public XamlXmlWriter(System.IO.Stream stream, System.Xaml.XamlSchemaContext schemaContext);
new System.Xaml.XamlXmlWriter : System.IO.Stream * System.Xaml.XamlSchemaContext -> System.Xaml.XamlXmlWriter
Public Sub New (stream As Stream, schemaContext As XamlSchemaContext)

パラメーター

stream
Stream

書き込むストリーム。

schemaContext
XamlSchemaContext

XAML ライターの XAML スキーマ コンテキスト。

例外

streamnullです。

-又は-

schemaContextnullです。

適用対象

XamlXmlWriter(TextWriter, XamlSchemaContext)

XamlXmlWriter クラスの新しいインスタンスをTextWriterベースで初期化します。

public:
 XamlXmlWriter(System::IO::TextWriter ^ textWriter, System::Xaml::XamlSchemaContext ^ schemaContext);
public XamlXmlWriter(System.IO.TextWriter textWriter, System.Xaml.XamlSchemaContext schemaContext);
new System.Xaml.XamlXmlWriter : System.IO.TextWriter * System.Xaml.XamlSchemaContext -> System.Xaml.XamlXmlWriter
Public Sub New (textWriter As TextWriter, schemaContext As XamlSchemaContext)

パラメーター

textWriter
TextWriter

出力を書き込む TextWriter

schemaContext
XamlSchemaContext

XAML ライターの XAML スキーマ コンテキスト。

例外

textWriter または schemaContextnull

適用対象

XamlXmlWriter(XmlWriter, XamlSchemaContext)

XamlXmlWriter クラスの新しいインスタンスをXmlWriterベースで初期化します。

public:
 XamlXmlWriter(System::Xml::XmlWriter ^ xmlWriter, System::Xaml::XamlSchemaContext ^ schemaContext);
public XamlXmlWriter(System.Xml.XmlWriter xmlWriter, System.Xaml.XamlSchemaContext schemaContext);
new System.Xaml.XamlXmlWriter : System.Xml.XmlWriter * System.Xaml.XamlSchemaContext -> System.Xaml.XamlXmlWriter
Public Sub New (xmlWriter As XmlWriter, schemaContext As XamlSchemaContext)

パラメーター

xmlWriter
XmlWriter

出力を書き込む XmlWriter

schemaContext
XamlSchemaContext

XAML ライターの XAML スキーマ コンテキスト。

例外

xmlWriter または schemaContextnull

適用対象

XamlXmlWriter(Stream, XamlSchemaContext, XamlXmlWriterSettings)

ライター設定オブジェクトを使用して、ストリームから XamlXmlWriter クラスの新しいインスタンスを初期化します。

public:
 XamlXmlWriter(System::IO::Stream ^ stream, System::Xaml::XamlSchemaContext ^ schemaContext, System::Xaml::XamlXmlWriterSettings ^ settings);
public XamlXmlWriter(System.IO.Stream stream, System.Xaml.XamlSchemaContext schemaContext, System.Xaml.XamlXmlWriterSettings settings);
new System.Xaml.XamlXmlWriter : System.IO.Stream * System.Xaml.XamlSchemaContext * System.Xaml.XamlXmlWriterSettings -> System.Xaml.XamlXmlWriter
Public Sub New (stream As Stream, schemaContext As XamlSchemaContext, settings As XamlXmlWriterSettings)

パラメーター

stream
Stream

書き込むストリーム。

schemaContext
XamlSchemaContext

XAML ライターの XAML スキーマ コンテキスト。

settings
XamlXmlWriterSettings

XamlXmlWriterSettingsのインスタンス。通常は、既定以外の特定の設定があります。

例外

stream または schemaContextnull

注釈

settings インスタンスの構築後に、XamlXmlWriter オブジェクトの値を変更しないでください。 XamlXmlWriter では、実行時に変更可能な設定値に基づいて内部設定を更新できません。 設定は初期化専用に指定する必要があります。 アクティブな XAML ライターの設定は、 XamlXmlWriterSettings コンストラクターシグネチャのいずれかを使用してマージできます。ただし、既存の設定を調整するのではなく、新しい XAML ライター インスタンスにこれらの設定を適用する必要があります。

適用対象

XamlXmlWriter(TextWriter, XamlSchemaContext, XamlXmlWriterSettings)

設定オブジェクトを使用して、 XamlXmlWriter クラスの新しいインスタンスを TextWriter ベースで初期化します。

public:
 XamlXmlWriter(System::IO::TextWriter ^ textWriter, System::Xaml::XamlSchemaContext ^ schemaContext, System::Xaml::XamlXmlWriterSettings ^ settings);
public XamlXmlWriter(System.IO.TextWriter textWriter, System.Xaml.XamlSchemaContext schemaContext, System.Xaml.XamlXmlWriterSettings settings);
new System.Xaml.XamlXmlWriter : System.IO.TextWriter * System.Xaml.XamlSchemaContext * System.Xaml.XamlXmlWriterSettings -> System.Xaml.XamlXmlWriter
Public Sub New (textWriter As TextWriter, schemaContext As XamlSchemaContext, settings As XamlXmlWriterSettings)

パラメーター

textWriter
TextWriter

出力を書き込む TextWriter

schemaContext
XamlSchemaContext

XAML ライターの XAML スキーマ コンテキスト。

settings
XamlXmlWriterSettings

XamlXmlWriterSettingsのインスタンス。通常は、既定以外の特定の設定があります。

例外

textWriter または schemaContextnull

注釈

settings インスタンスの構築後に、XamlXmlWriter オブジェクトの値を変更しないでください。 XamlXmlWriter では、実行時に変更可能な設定値に基づいて内部設定を更新できません。 設定は初期化専用に指定する必要があります。 アクティブな XAML ライターの設定は、 XamlXmlWriterSettings コンストラクターシグネチャのいずれかを使用してマージできます。ただし、既存の設定を調整するのではなく、新しい XAML ライター インスタンスにこれらの設定を適用する必要があります。

適用対象

XamlXmlWriter(XmlWriter, XamlSchemaContext, XamlXmlWriterSettings)

設定オブジェクトを使用して、 XamlXmlWriter クラスの新しいインスタンスを XmlWriter ベースで初期化します。

public:
 XamlXmlWriter(System::Xml::XmlWriter ^ xmlWriter, System::Xaml::XamlSchemaContext ^ schemaContext, System::Xaml::XamlXmlWriterSettings ^ settings);
public XamlXmlWriter(System.Xml.XmlWriter xmlWriter, System.Xaml.XamlSchemaContext schemaContext, System.Xaml.XamlXmlWriterSettings settings);
new System.Xaml.XamlXmlWriter : System.Xml.XmlWriter * System.Xaml.XamlSchemaContext * System.Xaml.XamlXmlWriterSettings -> System.Xaml.XamlXmlWriter
Public Sub New (xmlWriter As XmlWriter, schemaContext As XamlSchemaContext, settings As XamlXmlWriterSettings)

パラメーター

xmlWriter
XmlWriter

出力を書き込む XmlWriter

schemaContext
XamlSchemaContext

XAML ライターの XAML スキーマ コンテキスト。

settings
XamlXmlWriterSettings

XamlXmlWriterSettingsのインスタンス。通常は、既定以外の特定の設定があります。

例外

xmlWriter または schemaContextnull

注釈

settings インスタンスの構築後に、XamlXmlWriter オブジェクトの値を変更しないでください。 XamlXmlWriter では、実行時に変更可能な設定値に基づいて内部設定を更新できません。 設定は初期化専用に指定する必要があります。 アクティブな XAML ライターの設定は、 XamlXmlWriterSettings コンストラクターシグネチャのいずれかを使用してマージできます。ただし、既存の設定を調整するのではなく、新しい XAML ライター インスタンスにこれらの設定を適用する必要があります。

適用対象