Click or drag to resize

CollectionBase T IndexOf Method

Returns the zero-based index of the first occurrence of a specified item within the collection.

Namespace: Spire.Xls.Core.Spreadsheet.Collections
Assembly: Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public int IndexOf(
	T item
)

Parameters

item
Type: T
The item to locate in the collection.

Return Value

Type: Int32
The zero-based index of the first occurrence of item, if found; otherwise, -1.

Implements

IList T IndexOf(T)
See Also