[]
        
(Showing Draft Content)

GrapeCity.Wpf.SpreadSheet.CellType.Editors.Item-1.CompareValue

CompareValue Method

CompareValue(T, T)

Compare two values of T.

Declaration
protected abstract int CompareValue(T first, T second)
Protected MustOverride Function CompareValue(first As T, second As T) As Integer
Parameters
Type Name Description
T first

The first T to compare.

T second

The second T to compare.

Returns
Type Description
int

A 32-bit signed integer indicating the lexical relationship between the two items being compared. Less than zero indicates first is less than second. Zero indicates first equals second. Greater than zero indicates first is greater than second.