Επεξεργασία

Κοινή χρήση μέσω


OracleTimeSpan.CompareTo(Object) Method

Definition

Compares this OracleTimeSpan 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 of the OracleTimeSpan structure 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 in Visual Basic).

Implements

Applies to