XamlXmlReader Constructor (String^, XamlXmlReaderSettings^)

.NET Framework (current version)
 

Initializes a new instance of the XamlXmlReader class, based on the file name of a file to load into a default XML reader, and using XAML-specific reader settings.

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

public:
XamlXmlReader(
	String^ fileName,
	XamlXmlReaderSettings^ settings
)

Parameters

fileName
Type: System::String^

The name of the XML file to load.

settings
Type: System.Xaml::XamlXmlReaderSettings^

The specific reader settings.

Exception Condition
ArgumentNullException

fileName is null.

.NET Framework
Available since 4.0
Return to top
Show: