FlexGrid for WinForms
IndexOf(Int32,Int32) Method



Index of the row contained in the range.
Index of the column contained in the range.
Gets the index of the first CellRange object in the collection that contains the specified row and column.
Syntax
'Declaration
 
Public Overloads Function IndexOf( _
   ByVal row As Integer, _
   ByVal col As Integer _
) As Integer
'Usage
 
Dim instance As CellRangeCollection
Dim row As Integer
Dim col As Integer
Dim value As Integer
 
value = instance.IndexOf(row, col)
public int IndexOf( 
   int row,
   int col
)
public:
int IndexOf( 
   int row,
   int col
) 

Parameters

row
Index of the row contained in the range.
col
Index of the column contained in the range.

Return Value

The index of the object in the collection, or -1 if no range could be found containing the specified row and column.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

CellRangeCollection Class
CellRangeCollection Members
Overload List

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Send Feedback