XamlXmlReader Constructor (XmlReader^, XamlSchemaContext^)

.NET Framework (current version)
 

Initializes a new instance of the XamlXmlReader class using the provided XmlReader and schema context.

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

public:
XamlXmlReader(
	XmlReader^ xmlReader,
	XamlSchemaContext^ schemaContext
)

Parameters

xmlReader
Type: System.Xml::XmlReader^

The XmlReader to use as the intermediary XML processor.

schemaContext
Type: System.Xaml::XamlSchemaContext^

The XAML schema context for XAML processing.

Exception Condition
ArgumentNullException

xmlReader or schemaContext is null.

Initializing with this constructor also sets default reader settings.

.NET Framework
Available since 4.0
Return to top
Show: