Bearbeiten

Freigeben über


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.

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)

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

XamlObjectWriter(XamlSchemaContext, XamlObjectWriterSettings)

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

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)

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