PageableListTIndexOf Method (T) TIBCO Spotfire 7.6 API Reference

Namespace: Spotfire.Dxp.Data.Collections
Assembly: Spotfire.Dxp.Data (in Spotfire.Dxp.Data.dll) Version: 25.11.10401.3615 (25.11.10401.3615)
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: 7.6, 7.5, 7.0, 6.5, 6.0, 5.5, 5.0
See Also

Reference