PreferenceObjectServiceGetObjectsT Method

Spotfire 14.3 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: 65.0.19510.3242 (65.0.19510.3242)
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: 14.3, 14.2, 14.1, 14.0, 12.5, 12.4, 12.3, 12.2, 12.1, 12.0, 11.8
See Also

Reference