Hide

SftBox/OCX 5.0 - Combo Box Control

Display
Print

SftBoxItem.DataTag Property

Defines the item's application specific variant value.

Syntax

Get

VB.NETV = object.DataTag As Object
VBV = object.DataTag As Variant
C#.NETobject V = object.DataTag;
VC++_variant_t V = object->DataTag;
_variant_t V = object->GetDataTag();
CHRESULT object->get_DataTag(VARIANT* V);

Put

VB.NETobject.DataTag = V As Object
VBobject.DataTag = V As Variant
C#.NETobject object.DataTag = V;
VC++_variant_t object->DataTag = V;
void object->PutDataTag(const _variant_t& V);
CHRESULT object->put_DataTag(VARIANT V);

object

A SftBoxItem object.

V

Defines the item's application specific variant value.

Comments

The DataTag property defines the item's application specific variant value.

The DataTag property can be used for sorting purposes using the Items.Sort method or can be located using the Items.FindDataTag method.

The Item.Data and Item.DataObject properties can be used to store additional application specific data, using other data types (numeric values, objects).

Additional properties used to associate an application defined value with a cell are Cell.Data, Cell.DataString, Cell.DataTag and Cell.DataObject. These are distinct properties and can be used at the same time.

See Also SftBoxItem Object | Object Hierarchy


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.