|
|
|
SftTree.ItemDataObject Property |
Defines an item's application specific object.
Deprecated - Provided for compatibility with earlier versions only - Use Item.DataObject instead
Syntax
VB.NET |
refObject = object.get_ItemDataObject(ByVal ItemIndex As Integer) As Object |
||
VB |
refObject = object.ItemDataObject(ByVal ItemIndex As Long) As Object |
||
C#.NET |
object refObject = object.get_ItemDataObject(int ItemIndex); |
||
VC++ |
LPDISPATCH refObject = object->ItemDataObject[long ItemIndex];
|
||
C |
HRESULT object->get_ItemDataObject(long ItemIndex, LPDISPATCH* refObject); |
||
Delphi |
refObject := object.ItemDataObject[ItemIndex : Integer] : IDispatch; |
||
VB.NET |
object.set_ItemDataObject(ByVal ItemIndex As Integer, ByVal refObject As Object) |
||
VB |
Set object.ItemDataObject(ByVal ItemIndex As Long) = refObject As Object |
||
C#.NET |
void object.set_ItemDataObject(int ItemIndex, object refObject); |
||
VC++ |
LPDISPATCH object->ItemDataObject[long ItemIndex] = refObject;
|
||
C |
HRESULT object->putref_ItemDataObject(long ItemIndex, LPDISPATCH refObject); |
||
Delphi |
object.ItemDataObject[ItemIndex : Integer] := refObject : IDispatch; |
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