DocumentNodeCreatePropertyTKey, TNode Method (PropertyName, PropertyName, UndoableKeyedCollectionTKey, TNode)

Spotfire 14.2 API Reference

Namespace:  Spotfire.Dxp.Framework.DocumentModel
Assembly:  Spotfire.Dxp.Framework (in Spotfire.Dxp.Framework.dll) Version: 64.0.19329.3263 (64.0.19329.3263)
Syntax

C#
protected void CreateProperty<TKey, TNode>(
	PropertyName propertyName,
	PropertyName keyPropertyName,
	out UndoableKeyedCollection<TKey, TNode> field
)
where TNode : DocumentNode

Parameters

propertyName
Type: Spotfire.Dxp.Framework.DocumentModelPropertyName
The PropertyName used by the UndoableKeyedCollectionTKey, TNode.
keyPropertyName
Type: Spotfire.Dxp.Framework.DocumentModelPropertyName
The PropertyName of the property on the values in the UndoableKeyedCollectionTKey, TNode that is used to get the key for each value. This property must be implemented with an UndoableProperty.
field
Type: Spotfire.Dxp.Framework.DocumentModelUndoableKeyedCollectionTKey, TNode
The field that the UndoableKeyedCollectionTKey, TNode will be assigned to. This shall be a readonly field.

Type Parameters

TKey
The type of the keyes used by the UndoableKeyedCollectionTKey, TNode. This type must implement IComparableT and may not derive from DocumentNode.
TNode
The type of the values held by the UndoableKeyedCollectionTKey, TNode. This type must derive from DocumentNode.
Version Information

Supported in: 14.2, 14.1, 14.0, 12.5, 12.4, 12.3, 12.2, 12.1, 12.0, 11.8, 11.7, 11.6, 11.5, 11.4
See Also

Reference