Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

ItemDataObject Property, SftTree Object

Defines an item's application specific object.

Deprecated - Provided for compatibility with earlier versions only - Use Item.DataObject instead

Syntax

Get

VB.NETrefObject = object.get_ItemDataObject(ByVal ItemIndex As Integer) As Object
VBrefObject = object.ItemDataObject(ByVal ItemIndex As Long) As Object
C#.NETobject refObject = object.get_ItemDataObject(int ItemIndex);
VC++LPDISPATCH refObject = object->ItemDataObject[long ItemIndex];
LPDISPATCH refObject = object->GetItemDataObject(long ItemIndex);
CHRESULT object->get_ItemDataObject(long ItemIndex, LPDISPATCH* refObject);

PutRef

VB.NETobject.set_ItemDataObject(ByVal ItemIndex As Integer, ByVal refObject As Object)
VBSet object.ItemDataObject(ByVal ItemIndex As Long) = refObject As Object
C#.NETvoid object.set_ItemDataObject(int ItemIndex, object refObject);
VC++LPDISPATCH object->ItemDataObject[long ItemIndex] = refObject;
void object->PutRefItemDataObject(long ItemIndex, LPDISPATCH refObject);
CHRESULT object->putref_ItemDataObject(long ItemIndex, LPDISPATCH refObject);

object

A SftTree object.

ItemIndex

The zero-based item index.

refObject

Defines an item's application specific object.

Comments

Deprecated - Provided for compatibility with earlier versions only - Use Item.DataObject instead

The ItemDataObject property defines an item's application specific object.

Additional properties used to associate an application defined value with an item are Item.Data, Item.DataFloat, 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 SftTree Object | Object Hierarchy


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.