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