XamlXmlWriter Constructor (TextWriter, XamlSchemaContext)

.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 XamlXmlWriter class from a TextWriter basis.

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

public XamlXmlWriter(
	TextWriter textWriter,
	XamlSchemaContext schemaContext
)

Parameters

textWriter
Type: System.IO.TextWriter

The TextWriter that writes the output.

schemaContext
Type: System.Xaml.XamlSchemaContext

The XAML schema context for the XAML writer.

Exception Condition
ArgumentNullException

textWriter or schemaContext is null.

.NET Framework
Available since 4.0
Return to top
Show: