CimSeriesList.Item (read-only property)

Gets the series with a particular name or at a particular index in the collection.
Syntax: Set CimSeries = object.Item ( IndexOrName )
Parameters:
Optional IndexOrName As VARIANT - Specifies the index or name of the item you desire. It must be either a number from 0 to Count - 1 or an existing series name.
Description: CimSeriesList.Item returns an series. When a name is specified as the argument, the series returned is the one whose name matches the name argument. When an index is specified as the argument, the series returned is the one at the location specified by the index argument. When the argument is omitted, the first series is returned.

Example

The following CimView script excerpt returns a series named Plot:

Dim Series as CimSeries
Set Series = cimOleObj.Series.Item("Plot")

Since this is a default property, the previous script can also be written as follows:

Dim Series as CimSeries
Set Series = cimOleObj.Series("Plot")