Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

XamlXmlReader Constructor (TextReader, XamlXmlReaderSettings)

.NET Framework 4.6 and 4.5

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

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

public XamlXmlReader(
	TextReader textReader,
	XamlXmlReaderSettings settings
)

Parameters

textReader
Type: System.IO.TextReader

The TextReader to use for initialization.

settings
Type: System.Xaml.XamlXmlReaderSettings

The specific reader settings.

ExceptionCondition
ArgumentNullException

textReader 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

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
Show:
© 2015 Microsoft