PreferenceObjectService Exists Method TIBCO Spotfire 7.0 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: 18.10.8513.5432 (18.10.8513.5432)
Syntax

public bool Exists(
	PreferenceObjectIdentifier objectId
)

Return Value

Type: Boolean
true if the object exists; otherwise false.
Exceptions

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

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