This method is used by the Chart collections to retrieve the index of an item in a collection.
Get series index by name.
Visual Basic (Usage) | Copy Code |
---|---|
|
Parameters
- name
-
The name of the item in the collection for which an index will be returned.
Name of the data series.
Return Value
An integer value that represents the index of the item in the collection (0-based).
Index of the data series or -1 if it does not exist.
If the item is not found then negative one (-1) will be returned.
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