Spread Silverlight Documentation
Contains(Int32,Int32,Int32,Int32) Method


GrapeCity.Windows.SpreadSheet.Data Namespace > CellRange Class > Contains Method : Contains(Int32,Int32,Int32,Int32) Method
The row index of the first cell in the range.
The column index of the first cell in the range.
The number of rows in the range.
The number of columns in the range.
Determines whether the range of cells contains a specified range of cells.
Syntax
'Declaration
 
Public Overloads Function Contains( _
   ByVal row As System.Integer, _
   ByVal column As System.Integer, _
   ByVal rowCount As System.Integer, _
   ByVal columnCount As System.Integer _
) As System.Boolean
'Usage
 
Dim instance As CellRange
Dim row As System.Integer
Dim column As System.Integer
Dim rowCount As System.Integer
Dim columnCount As System.Integer
Dim value As System.Boolean
 
value = instance.Contains(row, column, rowCount, columnCount)
public System.bool Contains( 
   System.int row,
   System.int column,
   System.int rowCount,
   System.int columnCount
)

Parameters

row
The row index of the first cell in the range.
column
The column index of the first cell in the range.
rowCount
The number of rows in the range.
columnCount
The number of columns in the range.

Return Value

true if the cell range contains the specified cell range; otherwise, false.
See Also

Reference

CellRange Class
CellRange Members
Overload List