Spread Windows Forms 10.0 Product Documentation
Find Method (ListItemCollectionInfo)


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

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

ListItemCollectionInfo Class
ListItemCollectionInfo Members

 

 


Copyright © GrapeCity, inc. All rights reserved.