DocumentNodeCreatePropertyT Method (PropertyName, UndoablePropertyT, T)

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<T>(
	PropertyName propertyName,
	out UndoableProperty<T> field,
	T initialValue
)

Parameters

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

Type Parameters

T
The type of the value held by the UndoablePropertyT.
Version Information

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

Reference