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

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