Int128.CompareTo Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
CompareTo(Int128) |
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) |
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(Int128)
- Source:
- Int128.cs
- Source:
- Int128.cs
- Source:
- Int128.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(Int128 value);
public int CompareTo (Int128 value);
abstract member CompareTo : Int128 -> int
override this.CompareTo : Int128 -> int
Public Function CompareTo (value As Int128) As Integer
Parameters
- value
- Int128
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:
Value | Meaning |
---|---|
Less than zero | This instance precedes value in the sort order. |
Zero | This instance occurs in the same position in the sort order as value . |
Greater than zero | This instance follows value in the sort order. |
Implements
Applies to
CompareTo(Object)
- Source:
- Int128.cs
- Source:
- Int128.cs
- Source:
- Int128.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:
Value | Meaning |
---|---|
Less than zero | This instance precedes value in the sort order. |
Zero | This instance occurs in the same position in the sort order as value . |
Greater than zero | This instance follows value in the sort order. |
Implements
Applies to
Pripomienky
https://aka.ms/ContentUserFeedback.
Pripravujeme: V priebehu roka 2024 postupne zrušíme službu Problémy v službe GitHub ako mechanizmus pripomienok týkajúcich sa obsahu a nahradíme ju novým systémom pripomienok. Ďalšie informácie nájdete na stránke:Odoslať a zobraziť pripomienky pre