PreferenceObjectServiceGetObjectsT Method TIBCO Spotfire 7.6 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: 25.11.10401.3615 (25.11.10401.3615)
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.6, 7.5, 7.0, 6.5, 6.0, 5.5, 5.0
See Also

Reference