XamlObjectWriter Konstruktory

Definice

Inicializuje novou instanci XamlObjectWriter třídy.

Přetížení

XamlObjectWriter(XamlSchemaContext)

Inicializuje novou instanci XamlObjectWriter třídy pomocí kontextu schématu XAML, který je používán objektem XamlReader.

XamlObjectWriter(XamlSchemaContext, XamlObjectWriterSettings)

Inicializuje novou instanci XamlObjectWriter třídy pomocí kontextu, který je používán a XamlReader jeho nastavení.

XamlObjectWriter(XamlSchemaContext)

Inicializuje novou instanci XamlObjectWriter třídy pomocí kontextu schématu XAML, který je používán objektem XamlReader.

public:
 XamlObjectWriter(System::Xaml::XamlSchemaContext ^ schemaContext);
public XamlObjectWriter (System.Xaml.XamlSchemaContext schemaContext);
new System.Xaml.XamlObjectWriter : System.Xaml.XamlSchemaContext -> System.Xaml.XamlObjectWriter
Public Sub New (schemaContext As XamlSchemaContext)

Parametry

schemaContext
XamlSchemaContext

Kontext schématu XAML, který se sdílí se čtečkou XAML, která poskytuje uzly pro zápis.

Výjimky

schemaContext je null.

Platí pro

XamlObjectWriter(XamlSchemaContext, XamlObjectWriterSettings)

Inicializuje novou instanci XamlObjectWriter třídy pomocí kontextu, který je používán a XamlReader jeho nastavení.

public:
 XamlObjectWriter(System::Xaml::XamlSchemaContext ^ schemaContext, System::Xaml::XamlObjectWriterSettings ^ settings);
public XamlObjectWriter (System.Xaml.XamlSchemaContext schemaContext, System.Xaml.XamlObjectWriterSettings settings);
new System.Xaml.XamlObjectWriter : System.Xaml.XamlSchemaContext * System.Xaml.XamlObjectWriterSettings -> System.Xaml.XamlObjectWriter
Public Sub New (schemaContext As XamlSchemaContext, settings As XamlObjectWriterSettings)

Parametry

schemaContext
XamlSchemaContext

Kontext schématu XAML, který se sdílí se čtečkou XAML, která poskytuje uzly pro zápis.

settings
XamlObjectWriterSettings

Objekt nastavení, který určuje určité možnosti chování XamlObjectWriter a výstupu.

Výjimky

schemaContext je null.

Platí pro