CSharpTest.Net
UserSettingsSection Class Members
See Also  Fields  Properties  Methods  Send Feedback Download Help File
CSharpTest.Net.Library Assembly > CSharpTest.Net.AppConfig Namespace : UserSettingsSection Class


Glossary Item Box

The following tables list the members exposed by UserSettingsSection.

Public Constructors

Public Fields

 NameDescription
Public FieldSECTION_NAMEThe name of the user section: userSettings  
Top

Public Properties

 NameDescription
Public Propertystatic (Shared in Visual Basic)DefaultSettingsif available, returns the default userSettings from the app's configuration file  
Public PropertyElementInformationGets an System.Configuration.ElementInformation object that contains the non-customizable information and functionality of the System.Configuration.ConfigurationElement object. (Inherited from System.Configuration.ConfigurationElement)
Public PropertyItemGets or sets a key/value pair in the collection of settings  
Public PropertyLockAllAttributesExceptGets the collection of locked attributes. (Inherited from System.Configuration.ConfigurationElement)
Public PropertyLockAllElementsExceptGets the collection of locked elements. (Inherited from System.Configuration.ConfigurationElement)
Public PropertyLockAttributesGets the collection of locked attributes (Inherited from System.Configuration.ConfigurationElement)
Public PropertyLockElementsGets the collection of locked elements. (Inherited from System.Configuration.ConfigurationElement)
Public PropertyLockItemGets or sets a value indicating whether the element is locked. (Inherited from System.Configuration.ConfigurationElement)
Public PropertyOriginalVersionDescribes the version of the application that originally wrote the configuration  
Public PropertySectionInformationGets a System.Configuration.SectionInformation object that contains the non-customizable information and functionality of the System.Configuration.ConfigurationSection object. (Inherited from System.Configuration.ConfigurationSection)
Public PropertySectionsRetrieves a collection of named sections within the userSettings container  
Public PropertySettingsRetrieves the collection of key/value settings  
Public PropertyUpgradedDateThe last date/time the settings were upgraded from the upgradedVersion  
Public PropertyUpgradedVersionThe version that the user settings were previously updagraded from  
Public Propertystatic (Shared in Visual Basic)UserSettingsRetrieves the current UserSettingsSection from the default configuration  
Top

Protected Properties

Public Methods

 NameDescription
Public MethodCopyFromDeep copy of all settings from one configuration to another.  
Public MethodIsReadOnlyGets a value indicating whether the System.Configuration.ConfigurationElement object is read-only. (Inherited from System.Configuration.ConfigurationElement)
Public Methodstatic (Shared in Visual Basic)UpgradeUserSettingsSearches for old user settings from previous versions and copies them into the configuration provided.  
Public Methodstatic (Shared in Visual Basic)UserSettingsFromRetrieves 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.  
Top

Protected Methods

 NameDescription
Protected MethodListErrorsAdds the invalid-property errors in this System.Configuration.ConfigurationElement object, and in all subelements, to the passed list. (Inherited from System.Configuration.ConfigurationElement)
Protected MethodOnDeserializeUnrecognizedAttributeOverridden. Overloaded to ignore namespace declaration and useage so that we can identify the XSD file that should be used.  
Protected MethodOnDeserializeUnrecognizedElementGets a value indicating whether an unknown element is encountered during deserialization. (Inherited from System.Configuration.ConfigurationElement)
Protected MethodOnRequiredPropertyNotFoundThrows an exception when a required property is not found. (Inherited from System.Configuration.ConfigurationElement)
Protected MethodPostDeserializeCalled after deserialization. (Inherited from System.Configuration.ConfigurationElement)
Protected MethodPreSerializeOverridden. 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.  
Protected MethodSetPropertyValueSets a property to the specified value. (Inherited from System.Configuration.ConfigurationElement)
Top

See Also

Generated with Document! X 2011 by Innovasys