Spread Windows Forms 11.0 Product Documentation
FindObject Method


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

Parameters

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

Return Value

The zero-based index of the first item found.
See Also

Reference

ListItemCollectionInfo Class
ListItemCollectionInfo Members