|
|
|
SftBoxItems.FindTag Method |
Searches item data (Item.DataTag property).
Deprecated - Provided for compatibility with earlier versions only - Use Items.FindDataTag instead
Syntax
VB.NET |
FoundIndex = object.FindTag(ByVal vData As Object, ByVal StartIndex As Integer, ByVal EndIndex As Integer) As Integer |
||
VB |
FoundIndex = object.FindTag(ByVal vData As Variant, ByVal StartIndex As Long, ByVal EndIndex As Long) As Long |
||
C#.NET |
int FoundIndex = object.FindTag(object vData, int StartIndex, int EndIndex); |
||
VC++ |
long FoundIndex = object->FindTag(const _variant_t& vData, long StartIndex, long EndIndex); |
||
C |
HRESULT object->raw_FindTag(VARIANT vData, long StartIndex, long EndIndex, long* FoundIndex); |
||
Delphi |
FoundIndex := object.FindTag(vData : OleVariant; StartIndex : Integer; EndIndex : Integer) : Integer; |
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.