 | CellCompareTo Method |
Implemented CompareTo method
Namespace: NanoXLSXAssembly: NanoXLSX (in NanoXLSX.dll) Version: 2.6.7+c253a7d00ca5e19be14df4552cf12c589ec4ab3e
Syntaxpublic int CompareTo(
Cell other
)
Parameters
- other Cell
- Object to compare
Return Value
Int320 if values are the same, -1 if this object is smaller, 1 if it is bigger
Implements
IComparableTCompareTo(T)
RemarksNote that this method only compares the row and column numbers,
since the values or styles may completely different types, and therefore hard to compare at all.
The
Equals(Object) method considers values and style, though.
See Also