PreferenceObjectServiceRemoveT Method TIBCO Spotfire 7.6 API Reference
Removes a preference object from the current users own defined set of objects.

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 bool Remove<T>(
	PreferenceObject<T> preferenceObject
)

Parameters

preferenceObject
Type: Spotfire.Dxp.Framework.PreferencesPreferenceObjectT
The preference object to remove.

Type Parameters

T

Return Value

Type: Boolean
true if the object was found and removed; otherwise false.
Exceptions

ExceptionCondition
ArgumentNullException If preferenceObject is null.
NotSupportedException If the preference object is readonly, that is, the object doesn't belong to the users own defined set of objects.
ArgumentException If the preference class given in preferenceObject doesn't exist.
Version Information

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

Reference