Creates a new instance of type
PreferenceObjectT given value.
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 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
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