XamlXmlReader Constructor (TextReader^, XamlSchemaContext^, XamlXmlReaderSettings^)

.NET Framework (current version)
 

Initializes a new instance of the XamlXmlReader class, based on a TextReader, and using a supplied schema context and XAML-specific settings.

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

public:
XamlXmlReader(
	TextReader^ textReader,
	XamlSchemaContext^ schemaContext,
	XamlXmlReaderSettings^ settings
)

Parameters

textReader
Type: System.IO::TextReader^

The TextReader to use for initialization.

schemaContext
Type: System.Xaml::XamlSchemaContext^

The XAML schema context for XAML processing.

settings
Type: System.Xaml::XamlXmlReaderSettings^

The specific reader settings.

Exception Condition
ArgumentNullException

textReader is null.

-or-

schemaContext is null.

Initializing with this constructor attempts to merge some of the settings from the default reader together with the XAML-specific settings in settings. For more information, see XamlXmlReaderSettings.

.NET Framework
Available since 4.0
Return to top
Show: