XamlReaderSettings Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies processing rules or option settings for a XamlReader implementation.
public ref class XamlReaderSettings
public class XamlReaderSettings
type XamlReaderSettings = class
Public Class XamlReaderSettings
- Inheritance
-
XamlReaderSettings
- Derived
Remarks
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 totrue
at run time based on the loaded executables and their debug settings, or by XAML schema context.
Constructors
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. |
Properties
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 |
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 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 |
Methods
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
GetHashCode() |
Serves as the default hash function. (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) |