XamlObjectWriter Constructor (XamlSchemaContext, XamlObjectWriterSettings)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: