[]
        
(Showing Draft Content)

C1.C1Preview.Util.FastList.FindObjectIndex

FindObjectIndex Method

FindObjectIndex(object, out int)

Performs a fast search for the specified object within the current FastList.

Declaration
protected bool FindObjectIndex(object obj, out int index)
Parameters
Type Name Description
object obj

The object to search for.

int index

OUT: the index of obj within the current list, or 0 if the object was not found.

Returns
Type Description
bool

true if obj was found, false otherwise.