XamlXmlReader Constructor (Stream^, XamlXmlReaderSettings^)
.NET Framework (current version)
Initializes a new instance of the XamlXmlReader class, based on a stream, with XAML-specific settings.
Assembly: System.Xaml (in System.Xaml.dll)
Parameters
- stream
-
Type:
System.IO::Stream^
The initial stream to load into the reader.
- settings
-
Type:
System.Xaml::XamlXmlReaderSettings^
The specific reader settings.
| Exception | Condition |
|---|---|
| ArgumentNullException | stream 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
Available since 4.0
Show: