This method is used to retrieve the index of a specified object in the collection.
Gets first index of the collection item equal to the object provided.
Visual Basic (Usage) | Copy Code |
---|---|
|
Parameters
- value
-
The object to locate in the list.
Object to look for.
Return Value
An integer value that represents the index of the item in the collection.
Index of found object.
Negative one (-1) will be returned if item is not found.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family