XamlXmlReader Constructor (String, XamlSchemaContext)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Initializes a new instance of the XamlXmlReader class, based on the file name of a file to load into a default XML reader, with a supplied XAML schema context.

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

public XamlXmlReader(
	string fileName,
	XamlSchemaContext schemaContext
)

Parameters

fileName
Type: System.String

The name of the file to load.

schemaContext
Type: System.Xaml.XamlSchemaContext

The XAML schema context for XAML processing.

Exception Condition
ArgumentNullException

fileName or schemaContext is null.

.NET Framework
Available since 4.0
Return to top
Show: