BSTRCollection.FindItem Method

Searches the collection for a given string.
Syntax:
Public Function FindItem(item As StringAs Long
Parameter Description
item

Specifies the string to look for.

Return Value:

If the collection contains a string equal to the given string, the FindItem method returns the index of this item in the collection. If the string is not found, the FindItem method returns -1.

See also: BSTRCollection, BSTRCollection.Count, BSTRCollection.Item

<< BSTRCollection

This site is part of The Imaging Source Network. Other sites include Company Portal, Image Processing, Astronomy Cameras, Astronomy Cameras Blog, Blog caméras d'astronomie, Astronomy Cameras Competition, TX Text Control, TX Text Control Blog and Forums.