XamlXmlWriter Constructor (XmlWriter, XamlSchemaContext)

.NET Framework (current version)
 

Initializes a new instance of the XamlXmlWriter class from a XmlWriter basis.

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

public XamlXmlWriter(
	XmlWriter xmlWriter,
	XamlSchemaContext schemaContext
)

Parameters

xmlWriter
Type: System.Xml.XmlWriter

The XmlWriter that writes the output.

schemaContext
Type: System.Xaml.XamlSchemaContext

The XAML schema context for the XAML writer.

Exception Condition
ArgumentNullException

xmlWriter or schemaContext is null.

.NET Framework
Available since 4.0
Return to top
Show: