Creates a new instance of type
PreferenceObjectT given value.
Namespace: Spotfire.Dxp.Framework.Preferences
Assembly: Spotfire.Dxp.Framework (in Spotfire.Dxp.Framework.dll) Version: 71.0.22122.5390 (71.0.22122.5390)
Syntax
C#
public PreferenceObject( PreferenceObjectIdentifier id, T value )
Parameters
- id
- Type: Spotfire.Dxp.Framework.PreferencesPreferenceObjectIdentifier
The identifier of the object. - value
- Type: T
The value to set for the object.
Exceptions
| Exception | Condition |
|---|---|
| NotSupportedException | If T does not support being serialized. |
| ArgumentNullException | If value is null. |
Version Information
See Also