HeaderPane
Main
Hide

SftTree/OCX 8.0 - ActiveX Tree Control

Share Link
Print

Data Property, SftTreeCell Object

Defines the cell's application specific numeric value.

Syntax

Get

VB.NETNumber = object.Data As Integer
VBNumber = object.Data As Long
C#.NETint Number = object.Data;
VC++long Number = object->Data;
long Number = object->GetData();
CHRESULT object->get_Data(long* Number);

Put

VB.NETobject.Data = Number As Integer
VBobject.Data = Number As Long
C#.NETint object.Data = Number;
VC++long object->Data = Number;
void object->PutData(long Number);
CHRESULT object->put_Data(long Number);

object

A SftTreeCell object.

Number

Defines the cell's application specific numeric value.

Comments

The Data property defines the cell's application specific numeric value.

The Data property can be used to store application specific data with a cell. Possible uses include storing pointers to data structures or values used for sorting purposes (see Items.SortDependents method).

The Cell.DataString, Cell.DataObject, Cell.DataTag properties can be used to store additional application specific data, using other data types (strings, objects, variants).

Additional properties used to associate an application defined value with an item are Item.Data, Item.DataTag, Item.DataObject, Item.DataFloat and Item.DataString. These are distinct properties and can be used at the same time.

See Also SftTreeCell Object | Object Hierarchy


Last Updated 05/24/2026 - (email)
© 2026 Softel vdm, Inc.