SftTree/OCX 7.0

SftTreeItem.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 SftTreeItem object.

V

Defines the item's application specific variant value.

Comments

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

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  SftTreeItem Object | Object Hierarchy


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