Checks whether or not a preference object exists.
Namespace: Spotfire.Dxp.Framework.Preferences
Assembly: Spotfire.Dxp.Framework (in Spotfire.Dxp.Framework.dll) Version: 51.0.16121.3915 (51.0.16121.3915)
Syntax
C#
public bool Exists( PreferenceObjectIdentifier objectId )
Parameters
- objectId
- Type: Spotfire.Dxp.Framework.PreferencesPreferenceObjectIdentifier
The identification of the preference object to query.
Return Value
Type: Booleantrue if the object exists; otherwise false.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | If objectId is null. |
ArgumentException | If the preference class given in objectId doesn't exist. |
Version Information
Supported in: 11.4, 11.3, 11.2, 11.1, 11.0, 10.10, 7.11
See Also