Edytuj

Udostępnij za pośrednictwem


ValueTuple.CompareTo(ValueTuple) Method

Definition

Compares the current ValueTuple instance to a specified ValueTuple instance.

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

Parameters

other
ValueTuple

The object to compare with the current instance.

Returns

This method always returns 0.

Implements

Exceptions

other is not a ValueTuple instance.

Remarks

Because a ValueTuple instance has no elements, any two ValueTuple instances are considered to be equivalent.

Applies to