|
|
|
SftTreeItem.Data Property |
Defines the item's application specific numeric value.
Syntax
VB.NET |
Number = object.Data As Integer |
||
VB |
Number = object.Data As Long |
||
C#.NET |
int Number = object.Data; |
||
VC++ |
long Number = object->Data;
|
||
C |
HRESULT object->get_Data(long* Number); |
||
Delphi |
Number := object.Data : Integer; |
||
VB.NET |
object.Data = Number As Integer |
||
VB |
object.Data = Number As Long |
||
C#.NET |
int object.Data = Number; |
||
VC++ |
long object->Data = Number;
|
||
C |
HRESULT object->put_Data(long Number); |
||
Delphi |
object.Data := Number : Integer; |
object
A SftTreeItem object.
Number
Defines the item's application specific numeric value.
Comments
The Data property defines the item's application specific numeric value.
The Data property can be used to store an application specific value with an item. Possible uses include storing values used for sorting purposes (see Items.SortDependents method).
Additional properties used to associate an application defined value with an item are Item.DataFloat, Item.DataObject, Item.DataString and Item.DataTag. These are distinct properties and can be used at the same time.
Cell related data can be saved using the Cell.Data, Cell.DataObject, Cell.DataString and Cell.DataTag properties.
See Also SftTreeItem Object | Object Hierarchy