Provides functionality to retrieve and set preferences for the currently logged on user.
There is only one object of this type available in the application. This instance is registered as a top-level
service and can be accessed through one of the service provider methods. New instances of this type cannot be created.
Inheritance Hierarchy
DedicatedThreadAccessible
DedicatedThreadService
Spotfire.Dxp.Framework.PreferencesPreferenceManager
Namespace: Spotfire.Dxp.Framework.Preferences
Assembly: Spotfire.Dxp.Framework (in Spotfire.Dxp.Framework.dll) Version: 71.0.22122.5390 (71.0.22122.5390)
Syntax
C#
public sealed class PreferenceManager : DedicatedThreadService, IDisposable
The PreferenceManager type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| Enabled | Obsolete. Gets whether or not the use of preferences is enabled.
|
Methods
| Name | Description | |
|---|---|---|
| Dispose |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
| |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetPreferenceT | Gets a preference that has been registered with the
framework. Note that a preference must always have been
registered during the initialization phase of an
add-in for it to be returned by this method.
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| PreferenceExistsT | Determines whether or not a preferences of type T exists,
that is, has been registered with the framework.
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
Version Information
See Also