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)
ParameterTypeDescription
valueIChartCategoryChart category.

Return Value

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

See Also