[]
        
(Showing Draft Content)

GrapeCity.Win.Spread.InputMan.CellType.ListItemCollectionInfo.Find

Find Method

Find(object, IComparer, int, int)

Finds the value by comparer from the 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 that indicates the comparer.

int startIndex

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

int findTargetColumnIndex

The int value of the column to search in.

Returns
Type Description
int

The index of the item If successful; otherwise, -1.