Op Englesch liesen Editéieren

Deelen iwwer


XamlObjectWriter Constructors

Definition

Initializes a new instance of the XamlObjectWriter class.

Overloads

XamlObjectWriter(XamlSchemaContext)

Initializes a new instance of the XamlObjectWriter class using the XAML schema context that is used by a XamlReader.

XamlObjectWriter(XamlSchemaContext, XamlObjectWriterSettings)

Initializes a new instance of the XamlObjectWriter class using the context that is used by a XamlReader and its settings.

XamlObjectWriter(XamlSchemaContext)

Initializes a new instance of the XamlObjectWriter class using the XAML schema context that is used by a XamlReader.

C#
public XamlObjectWriter(System.Xaml.XamlSchemaContext schemaContext);

Parameters

schemaContext
XamlSchemaContext

A XAML schema context that is shared with the XAML reader that provides nodes for writing.

Exceptions

schemaContext is null.

Applies to

.NET Framework 4.8.1 an aner Versiounen
Produkt Versiounen
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10

XamlObjectWriter(XamlSchemaContext, XamlObjectWriterSettings)

Initializes a new instance of the XamlObjectWriter class using the context that is used by a XamlReader and its settings.

C#
public XamlObjectWriter(System.Xaml.XamlSchemaContext schemaContext, System.Xaml.XamlObjectWriterSettings settings);

Parameters

schemaContext
XamlSchemaContext

A XAML schema context that is shared with the XAML reader that provides nodes for writing.

settings
XamlObjectWriterSettings

A settings object that specifies certain options for XamlObjectWriter behavior and output.

Exceptions

schemaContext is null.

Applies to

.NET Framework 4.8.1 an aner Versiounen
Produkt Versiounen
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10