ArrayList.FindValue Method

Returns the index for the first occurrence of the provided value. If the value cannot be located, -1 will be returned.

int FindValue(any item, int block)

Parameters

any item

Value to search for

int block

Optionally which block to search in

Return Value

Array index, or -1 on failure

Errors

Invalid block index