IndexOf()

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

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

virtual int32_t Aspose::Slides::Charts::IChartCategoryCollection::IndexOf(System::SharedPtr<IChartCategory> value)=0

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