Defines an item's application specific string value.
Deprecated - Provided for compatibility with earlier versions only - Use Item.DataString instead
Get
| C# | string Text = object.get_ItemDataString(int ItemIndex); |
| VB.NET | Text = object.get_ItemDataString(ByVal ItemIndex As Integer) As String |
| C++ | _bstr_t Text = object->ItemDataString[long ItemIndex]; _bstr_t Text = object->GetItemDataString(long ItemIndex); |
| C | HRESULT object->get_ItemDataString(long ItemIndex, BSTR* Text); |
| VB | Text = object.ItemDataString(ByVal ItemIndex As Long) As String |
Put
| C# | void object.set_ItemDataString(int ItemIndex, string Text); |
| VB.NET | object.set_ItemDataString(ByVal ItemIndex As Integer, ByVal Text As String) |
| C++ | _bstr_t object->ItemDataString[long ItemIndex] = Text; void object->PutItemDataString(long ItemIndex, _bstr_t Text); |
| C | HRESULT object->put_ItemDataString(long ItemIndex, BSTR Text); |
| VB | object.ItemDataString(ByVal ItemIndex As Long) = Text As String |
object
ItemIndex
The zero-based item index.
Text
Defines an item's application specific string value.
Deprecated - Provided for compatibility with earlier versions only - Use Item.DataString instead
The ItemDataString property defines an item's application specific string value.
Additional properties used to associate an application defined value with an item are Item.Data, Item.DataFloat, Item.DataObject 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