Skip to main content
Row

CellKey Members

A cell’s unique identifier within a workbook.

Constructors

Name Description
CellKey(Int32, Int32, Int32) Initializes a new instance of the CellKey class with the specified settings.

Properties

Name Description
ColumnIndex Gets the index of the column that contains the current cell.
RowIndex Gets the index of the row that contains the current cell.
SheetId Returns the ID of the worksheet that contains the current cell.

Methods

Name Description
CompareTo(CellKey) Compares the current cell key with another and returns an integer that indicates whether the current cell is closer to the upper left position of the first worksheet in a workbook compared with another.
Equals(CellKey) Determines whether the specified object is equal to the current CellKey instance.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether two cell keys are equal.
GetHashCode() Returns a number that identifies the object instance.
GetType() Gets the Type of the current instance. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToLong() Returns a number that uniquely identifies a cell in a workbook.
ToString() Returns a string representation of the cell key.

Operators

Name Description
Equality(CellKey, CellKey) static Compares two CellKey structures for equality.
Inequality(CellKey, CellKey) static Compares two CellKey structures to determine whether they are not equal.
See Also