Oracle® Coherence .NET API Reference Release 3.7.1
E22844-03

Compares this object with the specified object for order.
From being compared to this Object.

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

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