PreferenceBag Methods |
The PreferenceBag type exposes the following members.
Name | Description | |
---|---|---|
![]() | AddWatcher |
Add a watcher for changes to the specified preference or preference branch.
|
![]() | Close |
Remove all watchers and write the registry.
|
![]() | Equals | (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.) |
![]() | GetBoolPref |
Return a bool preference.
|
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetInt32Pref |
Return an Int32 Preference.
|
![]() | GetPrefArray |
Get a string array of the preference names
|
![]() | GetStringPref |
Gets a preference's value as a string
|
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() ![]() | isValidName | |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | RemovePref |
Delete a Preference from the collection.
|
![]() | RemoveWatcher |
Remove a previously attached Watcher
|
![]() | SetBoolPref |
Update or create a Boolean preference.
|
![]() | SetInt32Pref |
Update or create a Int32 Preference
|
![]() | SetStringPref |
Update or create a string preference.
|
![]() | ToString |
Return a description of the contents of the preference bag
(Overrides ObjectToString.) |
![]() | ToString(Boolean) |
Return a string-based serialization of the Preferences settings.
|