DocumentNodeCreatePropertyTNode Method (PropertyName, UndoableCrossReferencePropertyTNode, TNode)

TIBCO Spotfire 11.4 API Reference

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

C#
protected void CreateProperty<TNode>(
	PropertyName propertyName,
	out UndoableCrossReferenceProperty<TNode> field,
	TNode initialValue
)
where TNode : DocumentNode

Parameters

propertyName
Type: Spotfire.Dxp.Framework.DocumentModelPropertyName
The PropertyName used by the UndoableCrossReferencePropertyT.
field
Type: Spotfire.Dxp.Framework.DocumentModelUndoableCrossReferencePropertyTNode
The field that the UndoableCrossReferencePropertyT will be assigned to. This shall be a readonly field.
initialValue
Type: TNode
The initial value held by the UndoableCrossReferencePropertyT.

Type Parameters

TNode
The type of the value held by the UndoableCrossReferencePropertyT. This type must derive from DocumentNode.
Version Information

Supported in: 11.4, 11.3, 11.2, 11.1, 11.0, 10.10, 7.11
See Also

Reference