The following tables list the members exposed by UserSettingsSection.
Name | Description | |
---|---|---|
UserSettingsSection Constructor |
Name | Description | |
---|---|---|
SECTION_NAME | The name of the user section: userSettings |
Name | Description | |
---|---|---|
DefaultSettings | if available, returns the default userSettings from the app's configuration file | |
ElementInformation | Gets an System.Configuration.ElementInformation object that contains the non-customizable information and functionality of the System.Configuration.ConfigurationElement object. (Inherited from System.Configuration.ConfigurationElement) | |
Item | Gets or sets a key/value pair in the collection of settings | |
LockAllAttributesExcept | Gets the collection of locked attributes. (Inherited from System.Configuration.ConfigurationElement) | |
LockAllElementsExcept | Gets the collection of locked elements. (Inherited from System.Configuration.ConfigurationElement) | |
LockAttributes | Gets the collection of locked attributes (Inherited from System.Configuration.ConfigurationElement) | |
LockElements | Gets the collection of locked elements. (Inherited from System.Configuration.ConfigurationElement) | |
LockItem | Gets or sets a value indicating whether the element is locked. (Inherited from System.Configuration.ConfigurationElement) | |
OriginalVersion | Describes the version of the application that originally wrote the configuration | |
SectionInformation | Gets a System.Configuration.SectionInformation object that contains the non-customizable information and functionality of the System.Configuration.ConfigurationSection object. (Inherited from System.Configuration.ConfigurationSection) | |
Sections | Retrieves a collection of named sections within the userSettings container | |
Settings | Retrieves the collection of key/value settings | |
UpgradedDate | The last date/time the settings were upgraded from the upgradedVersion | |
UpgradedVersion | The version that the user settings were previously updagraded from | |
UserSettings | Retrieves the current UserSettingsSection from the default configuration |
Name | Description | |
---|---|---|
EvaluationContext | Gets the System.Configuration.ContextInformation object for the System.Configuration.ConfigurationElement object. (Inherited from System.Configuration.ConfigurationElement) |
Name | Description | |
---|---|---|
CopyFrom | Deep copy of all settings from one configuration to another. | |
IsReadOnly | Gets a value indicating whether the System.Configuration.ConfigurationElement object is read-only. (Inherited from System.Configuration.ConfigurationElement) | |
UpgradeUserSettings | Searches for old user settings from previous versions and copies them into the configuration provided. | |
UserSettingsFrom | Retrieves the current UserSettingsSection from the specified configuration, if none exists a new one is created. If a previous version of the userSettings exists they will be copied to the UserSettingsSection. |
Name | Description | |
---|---|---|
ListErrors | Adds the invalid-property errors in this System.Configuration.ConfigurationElement object, and in all subelements, to the passed list. (Inherited from System.Configuration.ConfigurationElement) | |
OnDeserializeUnrecognizedAttribute | Overridden. Overloaded to ignore namespace declaration and useage so that we can identify the XSD file that should be used. | |
OnDeserializeUnrecognizedElement | Gets a value indicating whether an unknown element is encountered during deserialization. (Inherited from System.Configuration.ConfigurationElement) | |
OnRequiredPropertyNotFound | Throws an exception when a required property is not found. (Inherited from System.Configuration.ConfigurationElement) | |
PostDeserialize | Called after deserialization. (Inherited from System.Configuration.ConfigurationElement) | |
PreSerialize | Overridden. Overloaded to insert namespace declaration of xml schema and include our own schema file aut0magically. This is a development aid that is not enforced durring read of the xml. | |
SetPropertyValue | Sets a property to the specified value. (Inherited from System.Configuration.ConfigurationElement) |