ListViewColumnSorterCompare Method

Compares two objects and returns a value indicating whether one is less than, equal to, or greater than the other.

Definition

Namespace: DevCase.Runtime.TypeComparers
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public int Compare(
	Object a,
	Object b
)

Parameters

a  Object
The first object to compare.
b  Object
The second object to compare.

Return Value

Int32
A signed integer that indicates the relative values of a and b.

0: a equals b.

Less than 0: a is less than b.

Greater than 0: a is greater than b.

Implements

IComparerCompare(Object, Object)

See Also