[]
        
(Showing Draft Content)

C1.C1Preview.Util.FastList.IndexOf

IndexOf Method

IndexOf(object)

Returns the index of the specified object in the current FastList. (Performs a fast search using the FindObjectIndex(object, out int) method.)

Declaration
public int IndexOf(object obj)
Parameters
Type Name Description
object obj

The object to search for.

Returns
Type Description
int

The index of the specified object within the current list, or -1 if none was found.