XamlXmlWriter Constructor (TextWriter, XamlSchemaContext)

.NET Framework (current version)
 

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: