Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
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

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

Put

VB.NETobject.set_ItemDataString(ByVal ItemIndex As Integer, ByVal Text As String)
VBobject.ItemDataString(ByVal ItemIndex As Long) = Text As String
C#.NETvoid object.set_ItemDataString(int ItemIndex, string Text);
VC++_bstr_t object->ItemDataString[long ItemIndex] = Text;
void object->PutItemDataString(long ItemIndex, _bstr_t Text);
CHRESULT object->put_ItemDataString(long ItemIndex, BSTR Text);

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 08/13/2020 - (email)
© 2021 Softel vdm, Inc.