Spread WinForms 15
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / ListItemCollection Class / Find Method
The object value to search for.
The System.Collections.IComparer value indicating the comparer.
The zero-based index of the item before the first item to be searched.
The System.Int32 value to which column index search in.


In This Topic
Find Method (ListItemCollection)
In This Topic
Finds the value by comparer form 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 ListItemCollection
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)

Parameters

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

Return Value

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