IChartCategoryCollectionIndexOf Method

Searches for the specified IChartCategory 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: 22.1.0.0 (22.1)
Syntax
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.
See Also