Edit

Bagikan melalui


Rune.IComparable.CompareTo(Object) Method

Definition

Compares the current instance to the specified object.

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

Parameters

obj
Object

The object to compare with the current instance.

Returns

A signed integer indicating the position of this instance in the sort order in relation to other:
- Less than zero: This instance precedes other.
- Zero: The instance has the same position in the sort order as other.
- Greater than zero: This instance follows other.

Implements

Remarks

This member is an explicit interface member implementation. It can be used only when the Rune instance is cast to an IComparable interface.

Applies to