[]
Determines whether the range of cells contains the cell at the specified row and column.
public bool Contains(int row, int column)
Public Function Contains(row As Integer, column As Integer) As Boolean
Type | Name | Description |
---|---|---|
int | row | Row index of the cell |
int | column | Column index of the cell |
Type | Description |
---|---|
bool | true if the range of cells contains another specified cell; otherwise, false. |
Determines whether the range of cells contains another specified range of cells.
public bool Contains(int row, int column, int rowCount, int columnCount)
Public Function Contains(row As Integer, column As Integer, rowCount As Integer, columnCount As Integer) As Boolean
Type | Name | Description |
---|---|---|
int | row | Row index of the first cell in the range |
int | column | Column index of the first cell in the range |
int | rowCount | Number of rows in the range |
int | columnCount | Number of columns in the range |
Type | Description |
---|---|
bool | true if the range of cells contains another specified range of cells; otherwise, false. |
Determines whether the range of cells contains another specified range of cells.
public bool Contains(CellRange range)
Public Function Contains(range As CellRange) As Boolean
Type | Name | Description |
---|---|---|
CellRange | range | CellRange object that contains the other range of cells |
Type | Description |
---|---|
bool | true if the range of cells contains another specified range of cells; otherwise, false. |