XamlXmlReader Constructor (TextReader, XamlSchemaContext)

XamlXmlReader Constructor (TextReader, XamlSchemaContext)

.NET Framework (current version)
 

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

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

public XamlXmlReader(
	TextReader textReader,
	XamlSchemaContext schemaContext
)

Parameters

textReader
Type: System.IO.TextReader

The TextReader to use for initialization.

schemaContext
Type: System.Xaml.XamlSchemaContext

The XAML schema context for XAML processing.

Exception Condition
ArgumentNullException

textReader is null.

-or-

schemaContext is null.

.NET Framework
Available since 4.0
Return to top
Show:
© 2016 Microsoft