XamlReaderSettings Class
Specifies processing rules or option settings for a XamlReader implementation.
Assembly: System.Xaml (in System.Xaml.dll)
System.Xaml::XamlReaderSettings
System.Xaml::XamlObjectReaderSettings
System.Xaml::XamlXmlReaderSettings
| Name | Description | |
|---|---|---|
![]() | XamlReaderSettings() | Initializes a new instance of the XamlReaderSettings class. |
![]() | XamlReaderSettings(XamlReaderSettings^) | Initializes a new instance of the XamlReaderSettings class based on values in another XamlReaderSettings object. |
| Name | Description | |
|---|---|---|
![]() | AllowProtectedMembersOnRoot | Gets or sets a value that indicates whether the root object may include members that have a protected code access model when it reports the XAML type representation. |
![]() | BaseUri | Gets or sets the base URI that is used to resolve relative paths. |
![]() | IgnoreUidsOnPropertyElements | Gets or sets a value that specifies whether the XAML reader should ignore values for x:Uid attributes that exist on property elements. |
![]() | LocalAssembly | Gets or sets the object that represents the current local assembly for processing. This assembly information is used for calls to helper APIs such as XamlType::GetAllMembers. |
![]() | ProvideLineInfo | Gets or sets a value that specifies whether the reader can provide line number and position. |
![]() | ValuesMustBeString | Gets or sets a value that specifies whether the reader enforces that all Value nodes are processed as a String type. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | MemberwiseClone() | |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
By default, an initialized XamlReaderSettings object uses values for its properties that correspond to expected defaults, such as false for Boolean properties or null values for reference-type properties. Default initialization results in the following values:
The BaseUri and LocalAssembly properties are null.
The IgnoreUidsOnPropertyElements property is false.
The ProvideLineInfo property is false in the object model; however, it can be set to true at run time based on the loaded executables and their debug settings, or by XAML schema context.
Available since 4.0
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


