ValueTuple<T1, T2, T3, T4, T5, T6>::CompareTo Method (ValueTuple<T1, T2, T3, T4, T5, T6>)

 
Namespace:   System
Assembly:  mscorlib (in mscorlib.dll)

public:
virtual int CompareTo(
	ValueTuple<T1, T2, T3, T4, T5, T6> other
) sealed

Parameters

other
Type: System::ValueTuple<T1, T2, T3, T4, T5, T6>

The tuple to compare with this instance.

Return Value

Type: System::Int32

A signed integer that indicates the relative position of this instance and other in the sort order, as shown in the following able.

Vaue

Description

A negative integer

This instance precedes other.

Zero

This instance and other have the same position in the sort order.

A positive integer

This instance follows other.

.NET Framework
Available since 4.7
Return to top
Show: