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

Namespace: Spotfire.Dxp.Data.Collections
Assembly: Spotfire.Dxp.Data (in Spotfire.Dxp.Data.dll) Version: 14.10.7525.5058 (14.10.7525.5058)
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.
Version Information

Supported in: 6.5, 6.0, 5.5, 5.0, 4.5
See Also