This method is used by Chart collections to retrieve the index of a specified object in a collection.
Searches for the specified Object and returns the zero-based index of the first occurrence within the entire collection.
Visual Basic (Usage) | Copy Code |
---|---|
|
Parameters
- value
-
The object to locate in the list.
The Object to locate in the collection.
Return Value
An integer value that represents the index of the item in the collection.
The zero-based index of the first occurrence of value within the entire collection, if found; otherwise, -1.
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