TupleExtensions::Deconstruct<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20> Method (Tuple<T1, T2, T3, T4, T5, T6, T7, Tuple<T8, T9, T10, T11, T12, T13, T14, Tuple<T15, T16, T17, T18, T19, T20>^>^>^, T1%, T2%, T3%, T4%, T5%, T6%, T7%, T8%, T9%, T10%, T11%, T12%, T13%, T14%, T15%, T16%, T17%, T18%, T19%, T20%)
Deconstructs a tuple with 20 elements into separate variables.
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, typename T16, typename T17, typename T18, typename T19, typename T20> [ExtensionAttribute] static void Deconstruct( Tuple<T1, T2, T3, T4, T5, T6, T7, Tuple<T8, T9, T10, T11, T12, T13, T14, Tuple<T15, T16, T17, T18, T19, T20>^>^>^ value, [OutAttribute] T1% item1, [OutAttribute] T2% item2, [OutAttribute] T3% item3, [OutAttribute] T4% item4, [OutAttribute] T5% item5, [OutAttribute] T6% item6, [OutAttribute] T7% item7, [OutAttribute] T8% item8, [OutAttribute] T9% item9, [OutAttribute] T10% item10, [OutAttribute] T11% item11, [OutAttribute] T12% item12, [OutAttribute] T13% item13, [OutAttribute] T14% item14, [OutAttribute] T15% item15, [OutAttribute] T16% item16, [OutAttribute] T17% item17, [OutAttribute] T18% item18, [OutAttribute] T19% item19, [OutAttribute] T20% item20 )
Parameters
- value
-
Type:
System::Tuple<T1, T2, T3, T4, T5, T6, T7, Tuple<T8, T9, T10, T11, T12, T13, T14, Tuple<T15, T16, T17, T18, T19, T20>^>^>^
The 20-element tuple to deconstruct into 20 separate variables.
- item1
-
Type:
T1%
The value of the first element.
- item2
-
Type:
T2%
The value of the second element.
- item3
-
Type:
T3%
The value of the third element.
- item4
-
Type:
T4%
The value of the fourth element.
- item5
-
Type:
T5%
The value of the fifth element.
- item6
-
Type:
T6%
The value of the sixth element.
- item7
-
Type:
T7%
The value of the seventh element.
- item8
-
Type:
T8%
The value of the eighth element, or value.Rest.Item1.
- item9
-
Type:
T9%
The value of the ninth element, or value.Rest.Item2.
- item10
-
Type:
T10%
The value of the tenth element, or value.Rest.Item3.
- item11
-
Type:
T11%
The value of the eleventh element, or value.Rest.Item4.
- item12
-
Type:
T12%
The value of the twelfth element, or value.Rest.Item5.
- item13
-
Type:
T13%
The value of the thirteenth element, or value.Rest.Item6.
- item14
-
Type:
T14%
The value of the fourteenth element, or value.Rest.Item7.
- item15
-
Type:
T15%
The value of the fifteenth element, or value.Rest.Rest.Item1 .
- item16
-
Type:
T16%
The value of the sixteenth element, or value.Rest.Rest.Item2.
- item17
-
Type:
T17%
The value of the seventeenth element, or value.Rest.Rest.Item3.
- item18
-
Type:
T18%
The value of the eighteenth element, or value.Rest.Rest.Item4.
- item19
-
Type:
T19%
The value of the nineteenth element, or value.Rest.Rest.Item5.
- item20
-
Type:
T20%
The value of the twentieth element, or value.Rest.Rest.Item6.
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.
- T9
The type of the ninth element.
- T10
The type of the tenth element.
- T11
The type of the eleventh element.
- T12
The type of the twelfth element.
- T13
The type of the thirteenth element.
- T14
The type of the fourteenth element.
- T15
The type of the fifteenth element.
- T16
The type of the sixteenth element.
- T17
The type of the seventeenth element.
- T18
The type of the eighteenth element.
- T19
The type of the nineteenth element.
- T20
The type of the twentieth element.
Available since 4.7