PageableListTIndexOf Method (T)

TIBCO Spotfire 11.4 API Reference

Namespace:  Spotfire.Dxp.Data.Collections
Assembly:  Spotfire.Dxp.Data (in Spotfire.Dxp.Data.dll) Version: 51.0.16121.3915 (51.0.16121.3915)
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: 11.4, 11.3, 11.2, 11.1, 11.0, 10.10, 7.11
See Also

Reference