DocumentNodeCreatePropertyT Method (PropertyName, UndoablePropertyT, T)

Spotfire 15.0 API Reference

Namespace:  Spotfire.Dxp.Framework.DocumentModel
Assembly:  Spotfire.Dxp.Framework (in Spotfire.Dxp.Framework.dll) Version: 71.0.22122.5390 (71.0.22122.5390)
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


See Also

Reference