XamlObjectReader Constructor (Object, XamlObjectReaderSettings)

.NET Framework 4.6 and 4.5

Initializes a new instance of the XamlObjectReader class with the specified reader settings.

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

public XamlObjectReader(
	Object instance,
	XamlObjectReaderSettings settings


Type: System.Object

The root of the object tree to read.

Type: System.Xaml.XamlObjectReaderSettings

A settings object.

The settings object specifies rules for reader operations, such as line number processing, error handling behavior, and so on. For more information, see XamlObjectReaderSettings.

If initialized with this constructor, the XamlObjectReader object has the initial context of a default XamlSchemaContext.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft