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: 23.18.9504.3877 (23.18.9504.3877)
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: ReadOnlyCollectionPreferenceObjectTAll preference objects for the given class.
Exceptions
Exception | Condition |
---|---|
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
See Also