Removes a preference object from the current users own defined set
of objects.
Namespace: Spotfire.Dxp.Framework.PreferencesAssembly: Spotfire.Dxp.Framework (in Spotfire.Dxp.Framework.dll) Version: 18.10.8513.5432 (18.10.8513.5432)
Syntax
Parameters
- preferenceObject
- Type: Spotfire.Dxp.Framework.Preferences PreferenceObject T
The preference object to remove.
Type Parameters
- T
Return Value
Type: Booleantrue if the object was found and removed; otherwise false.
Exceptions
Exception | Condition |
---|---|
System ArgumentNullException | If preferenceObject is null. |
System NotSupportedException | If the preference object is readonly, that is, the object doesn't belong to the users own defined set of objects. |
System ArgumentException | If the preference class given in preferenceObject doesn't exist. |
Version Information
See Also