|
|
|
SftTreeItem.DataObject Property |
Defines the item's application specific object value.
Syntax
VB.NET |
refObjectPtr = object.DataObject As Object |
||
VB |
refObjectPtr = object.DataObject As Object |
||
C#.NET |
object refObjectPtr = object.DataObject; |
||
VC++ |
LPDISPATCH refObjectPtr = object->DataObject;
|
||
C |
HRESULT object->get_DataObject(LPDISPATCH* refObjectPtr); |
||
Delphi |
refObjectPtr := object.DataObject : IDispatch; |
||
VB.NET |
object.DataObject = refObjectPtr As Object |
||
VB |
Set object.DataObject = refObjectPtr As Object |
||
C#.NET |
object object.DataObject = refObjectPtr; |
||
VC++ |
LPDISPATCH object->DataObject = refObjectPtr;
|
||
C |
HRESULT object->putref_DataObject(LPDISPATCH refObjectPtr); |
||
Delphi |
object.DataObject := refObjectPtr : IDispatch; |
object
A SftTreeItem object.
refObjectPtr
Defines the item's application specific object value.
Comments
The DataObject property defines the item's application specific object value.
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.
When using .NET languages, the Item.DataTag property should be used instead. DataObject is intended to be used with COM objects only.
Cell related data can be saved using the Cell.Data, Cell.DataObject, Cell.DataString and Cell.DataTag properties.
See Also SftTreeItem Object | Object Hierarchy