Редагувати

Поділитися через


OracleMonthSpan.CompareTo(Object) Method

Definition

Compares this OracleMonthSpan structure to the supplied object and returns an indication of their relative values.

public:
 virtual int CompareTo(System::Object ^ obj);
public int CompareTo (object obj);
abstract member CompareTo : obj -> int
override this.CompareTo : obj -> int
Public Function CompareTo (obj As Object) As Integer

Parameters

obj
Object

The object to be compared.

Returns

A signed number indicating the relative values of the instance and the object.

Return Value Condition
Less than zero This instance is less than the object.
Zero This instance is the same as the object.
Greater than zero This instance is greater than the object

-or-

The object is a null reference (Nothing).

Implements

Applies to