Creates an UndoableKeyedCollection TKey, TNode and assigns it to the specified field.
The UndoableKeyedCollection TKey, TNode will have the specified propertyName.
Namespace: Spotfire.Dxp.Framework.DocumentModelAssembly: Spotfire.Dxp.Framework (in Spotfire.Dxp.Framework.dll) Version: 18.10.8513.5432 (18.10.8513.5432)
Syntax
Parameters
- propertyName
- Type: Spotfire.Dxp.Framework.DocumentModel PropertyName
The PropertyName used by the UndoableKeyedCollection TKey, TNode .
- keyPropertyName
- Type: Spotfire.Dxp.Framework.DocumentModel PropertyName
The PropertyName of the property on the values in the UndoableKeyedCollection TKey, TNode that is used to get the key for each value. This property must be implemented with an UndoableProperty.
- field
- Type: Spotfire.Dxp.Framework.DocumentModel UndoableKeyedCollection TKey, TNode
The field that the UndoableKeyedCollection TKey, TNode will be assigned to. This shall be a readonly field.
Type Parameters
- TKey
- The type of the keyes used by the UndoableKeyedCollection TKey, TNode . This type must implement IComparable T and may not derive from DocumentNode.
- TNode
- The type of the values held by the UndoableKeyedCollection TKey, TNode . This type must derive from DocumentNode.
Version Information
See Also