XamlObjectWriter Constructor (XamlSchemaContext^, XamlObjectWriterSettings^)

.NET Framework (current version)
 

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

Namespace:   System.Xaml
Assembly:  System.Xaml (in System.Xaml.dll)

public:
XamlObjectWriter(
	XamlSchemaContext^ schemaContext,
	XamlObjectWriterSettings^ settings
)

Parameters

schemaContext
Type: System.Xaml::XamlSchemaContext^

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

settings
Type: System.Xaml::XamlObjectWriterSettings^

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

Exception Condition
ArgumentNullException

schemaContext is null.

.NET Framework
Available since 4.0
Return to top
Show: