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