XamlXmlReader Constructor (XmlReader^)

.NET Framework (current version)
 

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

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

public:
XamlXmlReader(
	XmlReader^ xmlReader
)

Parameters

xmlReader
Type: System.Xml::XmlReader^

The XmlReader to use as the intermediary XML processor.

Exception Condition
ArgumentNullException

xmlReader is null.

Initializing with this constructor also sets a default XAML schema context and default reader settings.

.NET Framework
Available since 4.0
Return to top
Show: