PreferenceObjectService GetObjects T  Method TIBCO Spotfire 6.0 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: 13.19.7018.3940 (13.19.7018.3940)
Syntax

public ReadOnlyCollection<PreferenceObject<T>> GetObjects<T>(
	string className
)

Parameters

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

T

Return Value

Type: ReadOnlyCollection PreferenceObject T  
All preference objects for the given class.
Exceptions

ExceptionCondition
System 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).
See Also