Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
12c (12.2.1.4.0)
E90869-02
Compares this object with the specified object for order.
From being compared to this Object.

Namespace: Tangosol.Util
Assembly: Coherence (in Coherence.dll) Version: 12.2.1.4014 (12.2.1.4014)

Syntax

C#
public int CompareTo(
	Object o
)

Parameters

o
Type: System..::..Object
The Object to be compared.

Return Value

A negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object.

Remarks

Returns a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object.

Exceptions

ExceptionCondition
System..::..InvalidCastException If the specified object's type prevents it.

See Also