PreferenceObjectServiceExists Method TIBCO Spotfire 7.12 API Reference
Checks whether or not a preference object exists.

Namespace: Spotfire.Dxp.Framework.Preferences
Assembly: Spotfire.Dxp.Framework (in Spotfire.Dxp.Framework.dll) Version: 30.0.11525.4184 (30.0.11525.4184)
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: Boolean
true if the object exists; otherwise false.
Exceptions

ExceptionCondition
ArgumentNullException If objectId is null.
ArgumentExceptionIf the preference class given in objectId doesn't exist.
Version Information

Supported in: 7.9, 7.8, 7.7, 7.6, 7.5, 7.12, 7.11, 7.10, 7.0
See Also

Reference