Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

ItemDataTag Property, SftTree Object

Defines an application defined value associated with an item.

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

Syntax

Get

VB.NETData = object.get_ItemDataTag(ByVal ItemIndex As Integer) As Object
VBData = object.ItemDataTag(ByVal ItemIndex As Long) As Variant
C#.NETobject Data = object.get_ItemDataTag(int ItemIndex);
VC++_variant_t Data = object->ItemDataTag[long ItemIndex];
_variant_t Data = object->GetItemDataTag(long ItemIndex);
CHRESULT object->get_ItemDataTag(long ItemIndex, VARIANT* Data);

Put

VB.NETobject.set_ItemDataTag(ByVal ItemIndex As Integer, ByVal Data As Object)
VBobject.ItemDataTag(ByVal ItemIndex As Long) = Data As Variant
C#.NETvoid object.set_ItemDataTag(int ItemIndex, object Data);
VC++_variant_t object->ItemDataTag[long ItemIndex] = Data;
void object->PutItemDataTag(long ItemIndex, const _variant_t& Data);
CHRESULT object->put_ItemDataTag(long ItemIndex, VARIANT Data);

object

A SftTree object.

ItemIndex

The zero-based item index.

Data

Defines an application defined value associated with an item.

Comments

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

The ItemDataTag property defines an application defined value associated with an item.

Additional properties used to associate an application defined value with an item are Item.Data, Item.DataFloat, Item.DataObject and Item.DataString. 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)
© 2024 Softel vdm, Inc.


Spring Break!

Our offices will be closed this week (March 18 through March 22).

We'll be back March 24 to address any pending sales and support issues.