Spread Windows Forms 11.0 Product Documentation
Find Method (ListItemCollectionInfo)


GrapeCity.Win.PluginInputMan Assembly > GrapeCity.Win.Spread.InputMan.CellType Namespace > ListItemCollectionInfo Class : Find Method
The object value to search for.
The System.Collections.IComparer value that indicates the comparer.
The zero-based index of the item before the first item to be searched.
The System.Int32 value of the column to search in.
Finds the value by comparer from the start index.
Syntax
'Declaration
 
Public Function Find( _
   ByVal value As Object, _
   ByVal comparer As IComparer, _
   ByVal startIndex As Integer, _
   ByVal findTargetColumnIndex As Integer _
) As Integer
'Usage
 
Dim instance As ListItemCollectionInfo
Dim value As Object
Dim comparer As IComparer
Dim startIndex As Integer
Dim findTargetColumnIndex As Integer
Dim value As Integer
 
value = instance.Find(value, comparer, startIndex, findTargetColumnIndex)
public int Find( 
   object value,
   IComparer comparer,
   int startIndex,
   int findTargetColumnIndex
)

Parameters

value
The object value to search for.
comparer
The System.Collections.IComparer value that indicates the comparer.
startIndex
The zero-based index of the item before the first item to be searched.
findTargetColumnIndex
The System.Int32 value of the column to search in.

Return Value

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

Reference

ListItemCollectionInfo Class
ListItemCollectionInfo Members