IndexOf()

ChartCategoryCollection::IndexOf(System::SharedPtr<IChartCategory>) method

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

int32_t Aspose::Slides::Charts::ChartCategoryCollection::IndexOf(System::SharedPtr<IChartCategory> value) override

Arguments

ParameterTypeDescription
valueSystem::SharedPtr<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