Click or drag to resize

ChartCategoryCollection IndexOf Method

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

Namespace: Spire.Presentation.Collections
Assembly: Spire.Presentation (in Spire.Presentation.dll) Version: 10.4.2.0 (10.4.2.6046)
Syntax
public int IndexOf(
	ChartCategory value
)

Parameters

value
Type: Spire.Presentation.Charts ChartCategory
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