Determines whether the range of cells contains a specified range of cells.
'Declaration
Public Overloads Function Contains( _
ByVal As System.Integer, _
ByVal column As System.Integer, _
ByVal 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 ,
System.int column,
System.int ,
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
.