StringSegmentComparerCompare(Object, Object) Method
When overridden in a derived class, compares two objects and returns an indication of their relative sort order.
Namespace: KGySoft.CoreLibrariesAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 8.0.0
public int Compare(
Object? x,
Object? y
)
Public Function Compare (
x As Object,
y As Object
) As Integer
public:
virtual int Compare(
Object^ x,
Object^ y
) sealed
abstract Compare :
x : Object *
y : Object -> int
override Compare :
x : Object *
y : Object -> int
- x Object
- An object to compare to y.
- y Object
- An object to compare to x.
Int32
A signed integer that indicates the relative order of
x and
y.
IComparerCompare(Object, Object)