Call this method (in the constructor of your
concrete preference class implementation) to add a new property
to your preference class.
Namespace: Spotfire.Dxp.Framework.PreferencesAssembly: Spotfire.Dxp.Framework (in Spotfire.Dxp.Framework.dll) Version: 18.10.8513.5432 (18.10.8513.5432)
Syntax
Parameters
- property
- Type: Spotfire.Dxp.Framework.Preferences PreferenceProperty T
The preference property to add.
Type Parameters
- T
Return Value
Type: PreferenceProperty TThe property that was added. Use the return value of this method to assign a local variable.
Exceptions
Exception | Condition |
---|---|
System ArgumentNullException | If property is null. |
System InvalidOperationException | If a property with the same name as property already has been added to this preference. |
Version Information
See Also