Determines whether the range of cells is the same as another specified range of cells.
Syntax
'Declaration
Public Overloads Function Equals( _
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.Equals(row, column, rowCount, columnCount)
public System.bool Equals(
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 ranges are the same; otherwise, false
.
See Also