PreferenceObjectServiceGetObjectsT Method TIBCO Spotfire 7.12 API Reference
Gets all preference objects of a specified class defined by className.

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 ReadOnlyCollection<PreferenceObject<T>> GetObjects<T>(
	string className
)

Parameters

className
Type: SystemString
The name of the preference class for which all objects will be fetched.

Type Parameters

T

Return Value

Type: ReadOnlyCollectionPreferenceObjectT
All preference objects for the given class.
Exceptions

ExceptionCondition
ArgumentException If className is null, is an empty string, if the preference class is not defined, or if T is of wrong type (that is, does not match the type that the class was registered with).
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