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: 30.0.10915.3380 (30.0.10915.3380)
Syntax
C#
public sealed class PreferenceManager : DedicatedThreadService, IDisposable
The PreferenceManager type exposes the following members.
Methods
Name | Description | |
---|---|---|
Dispose |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
| |
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.
|
Properties
Name | Description | |
---|---|---|
Enabled | Obsolete. Gets whether or not the use of preferences is enabled.
|
Version Information
See Also