Click or drag to resize

DateRangeIComparableCompareTo Method

Compares this instance to a specified Object and returns an indication of their relative values.

Namespace: InnerDrive.Core
Assembly: InnerDrive.Core (in InnerDrive.Core.dll) Version: 5.0.8475.0
Syntax
C#
int IComparable.CompareTo(
	Object? obj
)

Parameters

obj  Object
An Object to compare, or a null reference.

Return Value

Int32
A signed number indicating the relative values of this instance and obj. The return value has these meanings:
Valuemeaning
Less than zeroThis instance is less than obj
ZeroThis instance is equal to or contains obj
Greater than zeroThis instance is greater than obj

Implements

IComparableCompareTo(Object)
Exceptions
ExceptionCondition
ArgumentExceptionobj is not the same type as this instance.
See Also