AbstractStyle.CompareTo Method

NanoXLSX

NanoXLSX

AbstractStyleCompareTo Method

Method to compare two objects for sorting purpose

Namespace:  NanoXLSX.Style
Assembly:  NanoXLSX (in NanoXLSX.dll) Version: 1.2.3.0 (1.2.3)
Syntax
C#
public int CompareTo(
	AbstractStyle other
)

Parameters

other
Type: NanoXLSX.StyleAbstractStyle
Other object to compare with this object

Return Value

Type: Int32
-1 if the other object is bigger. 0 if both objects are equal. 1 if the other object is smaller.

Implements

IComparableTCompareTo(T)
See Also