[]
        
(Showing Draft Content)

GrapeCity.Win.Spread.InputMan.CellType.ListItemCollection.Find

Find Method

Find(object, IComparer, int, int)

Finds the value by comparer form start index.

Declaration
public int Find(object value, IComparer comparer, int startIndex, int findTargetColumnIndex)
Public Function Find(value As Object, comparer As IComparer, startIndex As Integer, findTargetColumnIndex As Integer) As Integer
Parameters
Type Name Description
object value

The object value to search for.

IComparer comparer

The IComparer value indicating the comparer.

int startIndex

The zero-based index of the item before the first item to be searched.

int findTargetColumnIndex

The int value to which column index search in.

Returns
Type Description
int

If successed,index of the item,otherwise,-1