ChartCategoryCollectionIndexOf Method

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

Namespace:  Aspose.Slides.Charts
Assembly:  Aspose.Slides (in Aspose.Slides.dll) Version: 21.11.0.0 (21.11)
Syntax
public int IndexOf(
	IChartCategory value
)

Parameters

value
Type: Aspose.Slides.ChartsIChartCategory
Chart category.

Return Value

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

Implements

IChartCategoryCollectionIndexOf(IChartCategory)
See Also