SftBox/OCX 4.5

SftBoxItem.DataTag Property

Softel vdm, Inc.

Defines the item's application specific variant value.

Syntax       

Get

VB.NET

V = object.DataTag  As Object

VB

V = object.DataTag  As Variant

C#.NET

object V = object.DataTag;

VC++

_variant_t V = object->DataTag;
_variant_t V = object->GetDataTag();

C

HRESULT object->get_DataTag(VARIANT* V);

Delphi

V := object.DataTag   : OleVariant;

Put

VB.NET

object.DataTag = V  As Object

VB

object.DataTag = V  As Variant

C#.NET

object object.DataTag = V;

VC++

_variant_t object->DataTag = V;
void object->PutDataTag(const _variant_t& V);

C

HRESULT object->put_DataTag(VARIANT V);

Delphi

object.DataTag := V   : OleVariant;

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 Item.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. 


Feedback / comments / error reports for this topic
© 2008 - Softel vdm, Inc. - www.softelvdm.com