HeaderPane
Main
Hide
Share Link
Print

ItemDataString Property, SftTree Object

Defines an item's application specific string value.

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

Syntax

Get

C#string Text = object.get_ItemDataString(int ItemIndex);
VB.NETText = object.get_ItemDataString(ByVal ItemIndex As Integer) As String
C++_bstr_t Text = object->ItemDataString[long ItemIndex];
_bstr_t Text = object->GetItemDataString(long ItemIndex);
CHRESULT object->get_ItemDataString(long ItemIndex, BSTR* Text);
VBText = object.ItemDataString(ByVal ItemIndex As Long) As String

Put

C#void object.set_ItemDataString(int ItemIndex, string Text);
VB.NETobject.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);
CHRESULT object->put_ItemDataString(long ItemIndex, BSTR Text);
VBobject.ItemDataString(ByVal ItemIndex As Long) = Text As String

object

A SftTree object.

ItemIndex

The zero-based item index.

Text

Defines an item's application specific string value.

Comments

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


Last Updated 11/03/2026 - (email)
© 2026 Softel vdm, Inc.