DateComparerCompare Method
Compares two objects and returns a value indicating whether one is less than, equal to, or greater than the other.
Namespace: DevCase.Runtime.TypeComparersAssembly: 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
)
Public Function Compare (
a As Object,
b As Object
) As Integer
Dim instance As DateComparer
Dim a As Object
Dim b As Object
Dim returnValue As Integer
returnValue = instance.Compare(a, b)
public:
virtual int Compare(
Object^ a,
Object^ b
) sealed
abstract Compare :
a : Object *
b : Object -> int
override Compare :
a : Object *
b : Object -> int
No code example is currently available or this language may not be supported.
- a Object
-
The first object to compare.
- b Object
-
The second object to compare.
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.
IComparerCompare(Object, Object)