[]
Gets the index of a CellRange object in the collection.
public int IndexOf(CellRange item)
Type | Name | Description |
---|---|---|
CellRange | item | Object to locate in the collection. |
Type | Description |
---|---|
int | The index of the object in the collection, or -1 if the object is not a member of the collection. |
Gets the index of the first CellRange object in the collection that contains the specified row and column.
public int IndexOf(int row, int col)
Type | Name | Description |
---|---|---|
int | row | Index of the row contained in the range. |
int | col | Index of the column contained in the range. |
Type | Description |
---|---|
int | The index of the object in the collection, or -1 if no range could be found containing the specified row and column. |