PreferenceManager Class TIBCO Spotfire 7.6 API Reference
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

SystemObject
  DedicatedThreadAccessible
    DedicatedThreadService
      Spotfire.Dxp.Framework.PreferencesPreferenceManager

Namespace: Spotfire.Dxp.Framework.Preferences
Assembly: Spotfire.Dxp.Framework (in Spotfire.Dxp.Framework.dll) Version: 25.11.10401.3615 (25.11.10401.3615)
Syntax

C#
public sealed class PreferenceManager : DedicatedThreadService, 
	IDisposable

The PreferenceManager type exposes the following members.

Methods

  NameDescription
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetPreferenceT
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.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodPreferenceExistsT
Determines whether or not a preferences of type T exists, that is, has been registered with the framework.
Top
Properties

  NameDescription
Public propertyEnabled Obsolete.
Gets whether or not the use of preferences is enabled.
Top
Version Information

Supported in: 7.6, 7.5, 7.0, 6.5, 6.0, 5.5, 5.0
See Also

Reference