TupleExtensions::ToTuple<T1, T2, T3, T4, T5, T6, T7> Method (ValueTuple<T1, T2, T3, T4, T5, T6, T7>)

 

Converts an instance of the ValueTuple structure to an instance of the Tuple class.

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

public:
generic<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7>
[ExtensionAttribute]
static Tuple<T1, T2, T3, T4, T5, T6, T7>^ ToTuple(
	ValueTuple<T1, T2, T3, T4, T5, T6, T7> value
)

Parameters

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

The value tuple instance to convert to a tuple.

Return Value

Type: System::Tuple<T1, T2, T3, T4, T5, T6, T7>^

The converted tuple.

Type Parameters

T1

The type of the first element.

T2

The type of the second element.

T3

The type of the third element.

T4

The type of the fourth element.

T5

The type of the fifth element.

T6

The type of the sixth element.

T7

The type of the seventh element.

.NET Framework
Available since 4.7
Return to top
Show: