XamlReaderSettings Class
Specifies processing rules or option settings for a XamlReader implementation.
System.Xaml::XamlReaderSettings
System.Xaml::XamlObjectReaderSettings
System.Xaml::XamlXmlReaderSettings
Assembly: System.Xaml (in System.Xaml.dll)
The XamlReaderSettings type exposes the following members.
| 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 a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | 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 nullptr.
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.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
