Click or drag to resize
NanoXLSX

CellCompareTo Method

Implemented CompareTo method

Namespace: NanoXLSX
Assembly: NanoXLSX (in NanoXLSX.dll) Version: 2.6.4+e304ab0274fa680d1e83f83c8f76c3bd5a54caf2
Syntax
C#
public int CompareTo(
	Cell other
)

Parameters

other  Cell
Object to compare

Return Value

Int32
0 if values are the same, -1 if this object is smaller, 1 if it is bigger

Implements

IComparableTCompareTo(T)
Remarks
Note 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