SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTree/NET 2.0 - Tree Control
Defines an item's application specific object.
Deprecated - Provided for compatibility with earlier versions only - Use Item.DataObject instead
Get
| 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]; LPDISPATCH refObject = object->GetItemDataObject(long ItemIndex); |
| C | HRESULT object->get_ItemDataObject(long ItemIndex, LPDISPATCH* refObject); |
PutRef
| 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; void object->PutRefItemDataObject(long ItemIndex, LPDISPATCH refObject); |
| C | HRESULT object->putref_ItemDataObject(long ItemIndex, LPDISPATCH refObject); |
object
ItemIndex
The zero-based item index.
refObject
Defines an item's application specific object.
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
