Creates a new instance of type
PreferenceObjectT given value.
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 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: 11.4, 11.3, 11.2, 11.1, 11.0, 10.10, 7.11
See Also