IndexOf

IChartCategoryCollection.IndexOf method

Searches for the specified IChartCategory and returns the zero-based index of the first occurrence within the entire Collection

public int IndexOf(IChartCategory value)
Parameter Type Description
value IChartCategory Chart category.

Return Value

The zero-based index of the first occurrence of value within the entire CollectionBase, if found; otherwise, -1.

See Also