'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.