PageableList T  IndexOf Method (Object) TIBCO Spotfire 6.0 API Reference

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

public int IndexOf(
	Object value
)

Parameters

value
Type: System Object
The object to locate in the PageableList T .

Return Value

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

Implements

IList IndexOf(Object)
Exceptions

ExceptionCondition
System ArgumentExceptionvalue is of a type that is not assignable to the PageableList T .
Remarks

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