PageableListTIndexOf Method (T)

Spotfire 14.3 API Reference

Namespace:  Spotfire.Dxp.Data.Collections
Assembly:  Spotfire.Dxp.Data (in Spotfire.Dxp.Data.dll) Version: 65.0.19510.3242 (65.0.19510.3242)
Syntax

C#
public int IndexOf(
	T item
)

Parameters

item
Type: T
The object to locate in the PageableListT. The value can be null for reference types.

Return Value

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

Implements

IListTIndexOf(T)
Remarks

IndexOf(T) makes a linear search to find the first occurence of item; therefore, this method is an O(n) operation, where n is Count.
Version Information

Supported in: 14.3, 14.2, 14.1, 14.0, 12.5, 12.4, 12.3, 12.2, 12.1, 12.0, 11.8
See Also

Reference