public IndexOf ( object Object, int Start ) : int | ||
Object | object | The object to locate. |
Start | int | The index for start position. |
return | int |
public int IndexOf(object Object, int Start)
{
int Result = -1;
Result = FList.BinarySearch(Start, FList.Count-Start, Object, FComparer);
while(Result > Start && FList[Result-1].Equals(Object))
Result--;
return Result;
}