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: 51.0.16121.3915 (51.0.16121.3915)
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
Supported in: 11.4, 11.3, 11.2, 11.1, 11.0, 10.10, 7.11
See Also