DocumentNode CreateProperty TKey, TNode  Method (PropertyName, PropertyName, UndoableKeyedCollection TKey, TNode  ) TIBCO Spotfire 6.0 API Reference

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

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

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.
See Also