XamlXmlWriter Constructor (Stream, XamlSchemaContext)

XamlXmlWriter Constructor (Stream, XamlSchemaContext)

.NET Framework (current version)
 

Initializes a new instance of the XamlXmlWriter class from a stream.

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

public XamlXmlWriter(
	Stream stream,
	XamlSchemaContext schemaContext
)

Parameters

stream
Type: System.IO.Stream

The stream to write.

schemaContext
Type: System.Xaml.XamlSchemaContext

The XAML schema context for the XAML writer.

Exception Condition
ArgumentNullException

stream is null.

-or-

schemaContext is null.

.NET Framework
Available since 4.0
Return to top
Show:
© 2016 Microsoft