Redigeeri

Jagamisviis:


UInt128.CompareTo Method

Definition

Overloads

CompareTo(Object)

Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.

CompareTo(UInt128)

Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.

CompareTo(Object)

Source:
UInt128.cs
Source:
UInt128.cs
Source:
UInt128.cs

Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.

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

Parameters

value
Object

An object to compare with this instance.

Returns

A value that indicates the relative order of the objects being compared. The return value has these meanings:

ValueMeaning
Less than zeroThis instance precedes value in the sort order.
ZeroThis instance occurs in the same position in the sort order as value.
Greater than zeroThis instance follows value in the sort order.

Implements

Applies to

CompareTo(UInt128)

Source:
UInt128.cs
Source:
UInt128.cs
Source:
UInt128.cs

Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.

public:
 virtual int CompareTo(UInt128 value);
public int CompareTo (UInt128 value);
abstract member CompareTo : UInt128 -> int
override this.CompareTo : UInt128 -> int
Public Function CompareTo (value As UInt128) As Integer

Parameters

value
UInt128

An object to compare with this instance.

Returns

A value that indicates the relative order of the objects being compared. The return value has these meanings:

ValueMeaning
Less than zeroThis instance precedes value in the sort order.
ZeroThis instance occurs in the same position in the sort order as value.
Greater than zeroThis instance follows value in the sort order.

Implements

Applies to