IndexOf

IndexOf(IList, IValueGetter)

public int IndexOf(IList instance, IValueGetter container) ;

Description

Find the index where the value obtained from IValueGetter is located.

Parameters

Parameter Name Description
instance IList instance
container IValueGetter to get a value.

Returns

Index found. If not found, -1 is returned.