TupleExtensions::ToValueTuple<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> Method (Tuple<T1, T2, T3, T4, T5, T6, T7, Tuple<T8, T9, T10, T11, T12, T13, T14, Tuple<T15>^>^>^)
Converts an instance of the Tuple class to an instance of the ValueTuple structure.
Assembly: mscorlib (in mscorlib.dll)
public: generic<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12, typename T13, typename T14, typename T15> [ExtensionAttribute] static ValueTuple<T1, T2, T3, T4, T5, T6, T7, ValueTuple<T8, T9, T10, T11, T12, T13, T14, ValueTuple<T15>>> ToValueTuple( Tuple<T1, T2, T3, T4, T5, T6, T7, Tuple<T8, T9, T10, T11, T12, T13, T14, Tuple<T15>^>^>^ value )
Parameters
- value
-
Type:
System::Tuple<T1, T2, T3, T4, T5, T6, T7, Tuple<T8, T9, T10, T11, T12, T13, T14, Tuple<T15>^>^>^
The tuple object to convert to a value tuple
Return Value
Type: System::ValueTuple<T1, T2, T3, T4, T5, T6, T7, ValueTuple<T8, T9, T10, T11, T12, T13, T14, ValueTuple<T15>>>The converted value tuple instance.
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.
- T8
The type of the eighth element, or value.Rest.Item1.
- T9
The type of the ninth element, or value.Rest.Item2.
- T10
The type of the tenth element, or value.Rest.Item3.
- T11
The type of the eleventh element, or value.Rest.Item4.
- T12
The type of the twelfth element, or value.Rest.Item5.
- T13
The type of the thirteenth element, or value.Rest.Item6.
- T14
The type of the fourteenth element, or value.Rest.Item7.
- T15
The type of the fifteenth element., or value.Rest.Rest.Item1.
Available since 4.7