HeaderPane
Main
Hide
Share Link
Print

SftBoxItems.FindTag Method

Searches item data (Item.DataTag property).

Deprecated - Provided for compatibility with earlier versions only - Use Items.FindDataTag instead

Syntax

C#int FoundIndex = object.FindTag(object vData, int StartIndex, int EndIndex);
VB.NETFoundIndex = object.FindTag(ByVal vData As Object, ByVal StartIndex As Integer, ByVal EndIndex As Integer) As Integer
C++long FoundIndex = object->FindTag(const _variant_t& vData, long StartIndex, long EndIndex);
CHRESULT object->raw_FindTag(VARIANT vData, long StartIndex, long EndIndex, long* FoundIndex);
VBFoundIndex = object.FindTag(ByVal vData As Variant, ByVal StartIndex As Long, ByVal EndIndex As Long) As Long

object

A SftBoxItems object.

vData

The data to be searched.

StartIndex

The zero-based index of the item where the search is to begin (including the item at StartIndex). Specify StartIndex as -1 and EndIndex as -1 to search all items.

EndIndex

The zero-based index of the item where the search is to begin (including the item at StartIndex). Specify StartIndex as -1 and EndIndex as -1 to search all items.

FoundIndex

Returns the zero-based index of the item found. -1 is returned if no match was found.

Comments

Deprecated - Provided for compatibility with earlier versions only - Use Items.FindDataTag instead

The FindTag method searches item data (Item.DataTag property).

The data described by vData is compared to the Item.DataTag property of all items involved in the search. The search starts at the item described by StartIndex. If an item with a matching Item.DataTag property is found, its zero-based index is returned, otherwise -1 is returned.

See Also SftBoxItems Object | Object Hierarchy


Last Updated 11/03/2026 - (email)
© 2026 Softel vdm, Inc.