XamlXmlReader Constructor (XmlReader^, XamlSchemaContext^, XamlXmlReaderSettings^)
.NET Framework (current version)
Initializes a new instance of the XamlXmlReader class using the provided XmlReader, schema context, and reader settings.
Assembly: System.Xaml (in System.Xaml.dll)
public:
XamlXmlReader(
XmlReader^ xmlReader,
XamlSchemaContext^ schemaContext,
XamlXmlReaderSettings^ settings
)
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.
- settings
-
Type:
System.Xaml::XamlXmlReaderSettings^
The specific XAML reader settings.
| Exception | Condition |
|---|---|
| ArgumentNullException | xmlReader or schemaContext is null. |
Initializing with this constructor attempts to merge some of the settings from the provided xmlReader together with the XAML-specific settings in settings. For more information, see XamlXmlReaderSettings.
.NET Framework
Available since 4.0
Available since 4.0
Show: