TupleExtensions.ToValueTuple Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Converts a tuple to a value tuple.
Overloads
ToValueTuple<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15, T16,T17,T18,T19,T20,T21>(Tuple<T1,T2,T3,T4,T5,T6,T7,Tuple<T8, T9,T10,T11,T12,T13,T14,Tuple<T15,T16,T17,T18,T19,T20,T21>>>)
- Source:
- TupleExtensions.cs
- Source:
- TupleExtensions.cs
- Source:
- TupleExtensions.cs
Converts an instance of the Tuple
class to an instance of the ValueTuple
structure.
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, typename T21>
[System::Runtime::CompilerServices::Extension]
static ValueTuple<T1, T2, T3, T4, T5, T6, T7, ValueTuple<T8, T9, T10, T11, T12, T13, T14, ValueTuple<T15, T16, T17, T18, T19, T20, T21>>> ToValueTuple(Tuple<T1, T2, T3, T4, T5, T6, T7, Tuple<T8, T9, T10, T11, T12, T13, T14, Tuple<T15, T16, T17, T18, T19, T20, T21> ^> ^> ^ value);
public static (T1, T2, T3, T4, T5, T6, T7, (T8, T9, T10, T11, T12, T13, T14, (T15, T16, T17, T18, T19, T20, T21))) ToValueTuple<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21> (this Tuple<T1,T2,T3,T4,T5,T6,T7,Tuple<T8,T9,T10,T11,T12,T13,T14,Tuple<T15,T16,T17,T18,T19,T20,T21>>> value);
static member ToValueTuple : ('T1 * 'T2 * 'T3 * 'T4 * 'T5 * 'T6 * 'T7 * 'T8 * 'T9 * 'T10 * 'T11 * 'T12 * 'T13 * 'T14 * 'T15 * 'T16 * 'T17 * 'T18 * 'T19 * 'T20 * 'T21) -> ValueTuple<'T1, 'T2, 'T3, 'T4, 'T5, 'T6, 'T7, ValueTuple<'T8, 'T9, 'T10, 'T11, 'T12, 'T13, 'T14, ValueTuple<'T15, 'T16, 'T17, 'T18, 'T19, 'T20, 'T21>>>
<Extension()>
Public Function ToValueTuple(Of T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21) (value As Tuple(Of T1, T2, T3, T4, T5, T6, T7, Tuple(Of T8, T9, T10, T11, T12, T13, T14, Tuple(Of T15, T16, T17, T18, T19, T20, T21)))) As ValueTuple(Of T1, T2, T3, T4, T5, T6, T7, ValueTuple(Of T8, T9, T10, T11, T12, T13, T14, ValueTuple(Of T15, T16, T17, T18, T19, T20, T21)))
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
.
- T16
The type of the sixteenth element, or value
.Rest.Rest.Item2
.
- T17
The type of the seventeenth element, or value
.Rest.Rest.Item3
.
- T18
The type of the eighteenth element, or value
.Rest.Rest.Item4
.
- T19
The type of the nineteenth element, or value
.Rest.Rest.Item5
.
- T20
The type of the twentieth element, or value
.Rest.Rest.Item6
.
- T21
The type of the twenty-first element, or value
.Rest.Rest.Item7
.
Parameters
- value
- Tuple<T1,T2,T3,T4,T5,T6,T7,Tuple<T8,T9,T10,T11,T12,T13,T14,Tuple<T15,T16,T17,T18,T19,T20,T21>>>
The tuple object to convert to a value tuple.
Returns
The converted value tuple instance.
See also
Applies to
ToValueTuple<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15, T16,T17,T18,T19,T20>(Tuple<T1,T2,T3,T4,T5,T6,T7,Tuple<T8,T9,T10, T11,T12,T13,T14,Tuple<T15,T16,T17,T18,T19,T20>>>)
- Source:
- TupleExtensions.cs
- Source:
- TupleExtensions.cs
- Source:
- TupleExtensions.cs
Converts an instance of the Tuple
class to an instance of the ValueTuple
structure.
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>
[System::Runtime::CompilerServices::Extension]
static ValueTuple<T1, T2, T3, T4, T5, T6, T7, ValueTuple<T8, T9, T10, T11, T12, T13, T14, ValueTuple<T15, T16, T17, T18, T19, T20>>> ToValueTuple(Tuple<T1, T2, T3, T4, T5, T6, T7, Tuple<T8, T9, T10, T11, T12, T13, T14, Tuple<T15, T16, T17, T18, T19, T20> ^> ^> ^ value);
public static (T1, T2, T3, T4, T5, T6, T7, (T8, T9, T10, T11, T12, T13, T14, (T15, T16, T17, T18, T19, T20))) ToValueTuple<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20> (this Tuple<T1,T2,T3,T4,T5,T6,T7,Tuple<T8,T9,T10,T11,T12,T13,T14,Tuple<T15,T16,T17,T18,T19,T20>>> value);
static member ToValueTuple : ('T1 * 'T2 * 'T3 * 'T4 * 'T5 * 'T6 * 'T7 * 'T8 * 'T9 * 'T10 * 'T11 * 'T12 * 'T13 * 'T14 * 'T15 * 'T16 * 'T17 * 'T18 * 'T19 * 'T20) -> ValueTuple<'T1, 'T2, 'T3, 'T4, 'T5, 'T6, 'T7, ValueTuple<'T8, 'T9, 'T10, 'T11, 'T12, 'T13, 'T14, ValueTuple<'T15, 'T16, 'T17, 'T18, 'T19, 'T20>>>
<Extension()>
Public Function ToValueTuple(Of T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20) (value As Tuple(Of T1, T2, T3, T4, T5, T6, T7, Tuple(Of T8, T9, T10, T11, T12, T13, T14, Tuple(Of T15, T16, T17, T18, T19, T20)))) As ValueTuple(Of T1, T2, T3, T4, T5, T6, T7, ValueTuple(Of T8, T9, T10, T11, T12, T13, T14, ValueTuple(Of T15, T16, T17, T18, T19, T20)))
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
.
- T16
The type of the sixteenth element, or value
.Rest.Rest.Item2
.
- T17
The type of the seventeenth element, or value
.Rest.Rest.Item3
.
- T18
The type of the eighteenth element, or value
.Rest.Rest.Item4
.
- T19
The type of the nineteenth element, or value
.Rest.Rest.Item5
.
- T20
The type of the twentieth element, or value
.Rest.Rest.Item6
.
Parameters
The tuple object to convert to a value tuple.
Returns
The converted value tuple instance.
See also
Applies to
ToValueTuple<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15, T16,T17,T18,T19>(Tuple<T1,T2,T3,T4,T5,T6,T7,Tuple<T8,T9,T10,T11, T12,T13,T14,Tuple<T15,T16,T17,T18,T19>>>)
- Source:
- TupleExtensions.cs
- Source:
- TupleExtensions.cs
- Source:
- TupleExtensions.cs
Converts an instance of the Tuple
class to an instance of the ValueTuple
structure.
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>
[System::Runtime::CompilerServices::Extension]
static ValueTuple<T1, T2, T3, T4, T5, T6, T7, ValueTuple<T8, T9, T10, T11, T12, T13, T14, ValueTuple<T15, T16, T17, T18, T19>>> ToValueTuple(Tuple<T1, T2, T3, T4, T5, T6, T7, Tuple<T8, T9, T10, T11, T12, T13, T14, Tuple<T15, T16, T17, T18, T19> ^> ^> ^ value);
public static (T1, T2, T3, T4, T5, T6, T7, (T8, T9, T10, T11, T12, T13, T14, (T15, T16, T17, T18, T19))) ToValueTuple<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19> (this Tuple<T1,T2,T3,T4,T5,T6,T7,Tuple<T8,T9,T10,T11,T12,T13,T14,Tuple<T15,T16,T17,T18,T19>>> value);
static member ToValueTuple : ('T1 * 'T2 * 'T3 * 'T4 * 'T5 * 'T6 * 'T7 * 'T8 * 'T9 * 'T10 * 'T11 * 'T12 * 'T13 * 'T14 * 'T15 * 'T16 * 'T17 * 'T18 * 'T19) -> ValueTuple<'T1, 'T2, 'T3, 'T4, 'T5, 'T6, 'T7, ValueTuple<'T8, 'T9, 'T10, 'T11, 'T12, 'T13, 'T14, ValueTuple<'T15, 'T16, 'T17, 'T18, 'T19>>>
<Extension()>
Public Function ToValueTuple(Of T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19) (value As Tuple(Of T1, T2, T3, T4, T5, T6, T7, Tuple(Of T8, T9, T10, T11, T12, T13, T14, Tuple(Of T15, T16, T17, T18, T19)))) As ValueTuple(Of T1, T2, T3, T4, T5, T6, T7, ValueTuple(Of T8, T9, T10, T11, T12, T13, T14, ValueTuple(Of T15, T16, T17, T18, T19)))
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
.
- T16
The type of the sixteenth element, or value
.Rest.Rest.Item2
.
- T17
The type of the seventeenth element, or value
.Rest.Rest.Item3
.
- T18
The type of the eighteenth element, or value
.Rest.Rest.Item4
.
- T19
The type of the nineteenth element, or value
.Rest.Rest.Item5
.
Parameters
The tuple object to convert to a value tuple.
Returns
The converted value tuple instance.
See also
Applies to
ToValueTuple<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15, T16,T17,T18>(Tuple<T1,T2,T3,T4,T5,T6,T7,Tuple<T8,T9,T10,T11,T12, T13,T14,Tuple<T15,T16,T17,T18>>>)
- Source:
- TupleExtensions.cs
- Source:
- TupleExtensions.cs
- Source:
- TupleExtensions.cs
Converts an instance of the Tuple
class to an instance of the ValueTuple
structure.
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>
[System::Runtime::CompilerServices::Extension]
static ValueTuple<T1, T2, T3, T4, T5, T6, T7, ValueTuple<T8, T9, T10, T11, T12, T13, T14, ValueTuple<T15, T16, T17, T18>>> ToValueTuple(Tuple<T1, T2, T3, T4, T5, T6, T7, Tuple<T8, T9, T10, T11, T12, T13, T14, Tuple<T15, T16, T17, T18> ^> ^> ^ value);
public static (T1, T2, T3, T4, T5, T6, T7, (T8, T9, T10, T11, T12, T13, T14, (T15, T16, T17, T18))) ToValueTuple<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18> (this Tuple<T1,T2,T3,T4,T5,T6,T7,Tuple<T8,T9,T10,T11,T12,T13,T14,Tuple<T15,T16,T17,T18>>> value);
static member ToValueTuple : ('T1 * 'T2 * 'T3 * 'T4 * 'T5 * 'T6 * 'T7 * 'T8 * 'T9 * 'T10 * 'T11 * 'T12 * 'T13 * 'T14 * 'T15 * 'T16 * 'T17 * 'T18) -> ValueTuple<'T1, 'T2, 'T3, 'T4, 'T5, 'T6, 'T7, ValueTuple<'T8, 'T9, 'T10, 'T11, 'T12, 'T13, 'T14, ValueTuple<'T15, 'T16, 'T17, 'T18>>>
<Extension()>
Public Function ToValueTuple(Of T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18) (value As Tuple(Of T1, T2, T3, T4, T5, T6, T7, Tuple(Of T8, T9, T10, T11, T12, T13, T14, Tuple(Of T15, T16, T17, T18)))) As ValueTuple(Of T1, T2, T3, T4, T5, T6, T7, ValueTuple(Of T8, T9, T10, T11, T12, T13, T14, ValueTuple(Of T15, T16, T17, T18)))
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
.
- T16
The type of the sixteenth element, or value
.Rest.Rest.Item2
.
- T17
The type of the seventeenth element, or value
.Rest.Rest.Item3
.
- T18
The type of the eighteenth element, or value
.Rest.Rest.Item4
.
Parameters
The tuple object to convert to a value tuple.
Returns
The converted value tuple instance.
See also
Applies to
ToValueTuple<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15, T16,T17>(Tuple<T1,T2,T3,T4,T5,T6,T7,Tuple<T8,T9,T10,T11,T12,T13, T14,Tuple<T15,T16,T17>>>)
- Source:
- TupleExtensions.cs
- Source:
- TupleExtensions.cs
- Source:
- TupleExtensions.cs
Converts an instance of the Tuple
class to an instance of the ValueTuple
structure.
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>
[System::Runtime::CompilerServices::Extension]
static ValueTuple<T1, T2, T3, T4, T5, T6, T7, ValueTuple<T8, T9, T10, T11, T12, T13, T14, ValueTuple<T15, T16, T17>>> ToValueTuple(Tuple<T1, T2, T3, T4, T5, T6, T7, Tuple<T8, T9, T10, T11, T12, T13, T14, Tuple<T15, T16, T17> ^> ^> ^ value);
public static (T1, T2, T3, T4, T5, T6, T7, (T8, T9, T10, T11, T12, T13, T14, (T15, T16, T17))) ToValueTuple<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17> (this Tuple<T1,T2,T3,T4,T5,T6,T7,Tuple<T8,T9,T10,T11,T12,T13,T14,Tuple<T15,T16,T17>>> value);
static member ToValueTuple : ('T1 * 'T2 * 'T3 * 'T4 * 'T5 * 'T6 * 'T7 * 'T8 * 'T9 * 'T10 * 'T11 * 'T12 * 'T13 * 'T14 * 'T15 * 'T16 * 'T17) -> ValueTuple<'T1, 'T2, 'T3, 'T4, 'T5, 'T6, 'T7, ValueTuple<'T8, 'T9, 'T10, 'T11, 'T12, 'T13, 'T14, ValueTuple<'T15, 'T16, 'T17>>>
<Extension()>
Public Function ToValueTuple(Of T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17) (value As Tuple(Of T1, T2, T3, T4, T5, T6, T7, Tuple(Of T8, T9, T10, T11, T12, T13, T14, Tuple(Of T15, T16, T17)))) As ValueTuple(Of T1, T2, T3, T4, T5, T6, T7, ValueTuple(Of T8, T9, T10, T11, T12, T13, T14, ValueTuple(Of T15, T16, T17)))
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
.
- T16
The type of the sixteenth element, or value
.Rest.Rest.Item2
.
- T17
The type of the seventeenth element, or value
.Rest.Rest.Item3
.
Parameters
The tuple object to convert to a value tuple.
Returns
The converted value tuple instance.
See also
Applies to
ToValueTuple<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16>(Tuple<T1,T2,T3,T4,T5,T6,T7,Tuple<T8,T9,T10,T11,T12,T13,T14,Tuple<T15,T16>>>)
- Source:
- TupleExtensions.cs
- Source:
- TupleExtensions.cs
- Source:
- TupleExtensions.cs
Converts an instance of the Tuple
class to an instance of the ValueTuple
structure.
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>
[System::Runtime::CompilerServices::Extension]
static ValueTuple<T1, T2, T3, T4, T5, T6, T7, ValueTuple<T8, T9, T10, T11, T12, T13, T14, ValueTuple<T15, T16>>> ToValueTuple(Tuple<T1, T2, T3, T4, T5, T6, T7, Tuple<T8, T9, T10, T11, T12, T13, T14, Tuple<T15, T16> ^> ^> ^ value);
public static (T1, T2, T3, T4, T5, T6, T7, (T8, T9, T10, T11, T12, T13, T14, (T15, T16))) ToValueTuple<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16> (this Tuple<T1,T2,T3,T4,T5,T6,T7,Tuple<T8,T9,T10,T11,T12,T13,T14,Tuple<T15,T16>>> value);
static member ToValueTuple : ('T1 * 'T2 * 'T3 * 'T4 * 'T5 * 'T6 * 'T7 * 'T8 * 'T9 * 'T10 * 'T11 * 'T12 * 'T13 * 'T14 * 'T15 * 'T16) -> ValueTuple<'T1, 'T2, 'T3, 'T4, 'T5, 'T6, 'T7, ValueTuple<'T8, 'T9, 'T10, 'T11, 'T12, 'T13, 'T14, ValueTuple<'T15, 'T16>>>
<Extension()>
Public Function ToValueTuple(Of T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16) (value As Tuple(Of T1, T2, T3, T4, T5, T6, T7, Tuple(Of T8, T9, T10, T11, T12, T13, T14, Tuple(Of T15, T16)))) As ValueTuple(Of T1, T2, T3, T4, T5, T6, T7, ValueTuple(Of T8, T9, T10, T11, T12, T13, T14, ValueTuple(Of T15, T16)))
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
.
- T16
The type of the sixteenth element, or value
.Rest.Rest.Item2
.
Parameters
The tuple object to convert to a value tuple.
Returns
The converted value tuple instance.
See also
Applies to
ToValueTuple<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15>(Tuple<T1,T2,T3,T4,T5,T6,T7,Tuple<T8,T9,T10,T11,T12,T13,T14,Tuple<T15>>>)
- Source:
- TupleExtensions.cs
- Source:
- TupleExtensions.cs
- Source:
- TupleExtensions.cs
Converts an instance of the Tuple
class to an instance of the ValueTuple
structure.
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>
[System::Runtime::CompilerServices::Extension]
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);
public static (T1, T2, T3, T4, T5, T6, T7, (T8, T9, T10, T11, T12, T13, T14, (T15))) ToValueTuple<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15> (this Tuple<T1,T2,T3,T4,T5,T6,T7,Tuple<T8,T9,T10,T11,T12,T13,T14,Tuple<T15>>> value);
static member ToValueTuple : ('T1 * 'T2 * 'T3 * 'T4 * 'T5 * 'T6 * 'T7 * 'T8 * 'T9 * 'T10 * 'T11 * 'T12 * 'T13 * 'T14 * 'T15) -> ValueTuple<'T1, 'T2, 'T3, 'T4, 'T5, 'T6, 'T7, ValueTuple<'T8, 'T9, 'T10, 'T11, 'T12, 'T13, 'T14, ValueTuple<'T15>>>
<Extension()>
Public Function ToValueTuple(Of T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15) (value As Tuple(Of T1, T2, T3, T4, T5, T6, T7, Tuple(Of T8, T9, T10, T11, T12, T13, T14, Tuple(Of T15)))) As ValueTuple(Of T1, T2, T3, T4, T5, T6, T7, ValueTuple(Of T8, T9, T10, T11, T12, T13, T14, ValueTuple(Of T15)))
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
.
Parameters
The tuple object to convert to a value tuple.
Returns
The converted value tuple instance.
See also
Applies to
ToValueTuple<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14>(Tuple<T1,T2,T3,T4,T5,T6,T7,Tuple<T8,T9,T10,T11,T12,T13,T14>>)
- Source:
- TupleExtensions.cs
- Source:
- TupleExtensions.cs
- Source:
- TupleExtensions.cs
Converts an instance of the Tuple
class to an instance of the ValueTuple
structure.
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>
[System::Runtime::CompilerServices::Extension]
static ValueTuple<T1, T2, T3, T4, T5, T6, T7, ValueTuple<T8, T9, T10, T11, T12, T13, T14>> ToValueTuple(Tuple<T1, T2, T3, T4, T5, T6, T7, Tuple<T8, T9, T10, T11, T12, T13, T14> ^> ^ value);
public static (T1, T2, T3, T4, T5, T6, T7, (T8, T9, T10, T11, T12, T13, T14)) ToValueTuple<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14> (this Tuple<T1,T2,T3,T4,T5,T6,T7,Tuple<T8,T9,T10,T11,T12,T13,T14>> value);
static member ToValueTuple : ('T1 * 'T2 * 'T3 * 'T4 * 'T5 * 'T6 * 'T7 * 'T8 * 'T9 * 'T10 * 'T11 * 'T12 * 'T13 * 'T14) -> ValueTuple<'T1, 'T2, 'T3, 'T4, 'T5, 'T6, 'T7, ValueTuple<'T8, 'T9, 'T10, 'T11, 'T12, 'T13, 'T14>>
<Extension()>
Public Function ToValueTuple(Of T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14) (value As Tuple(Of T1, T2, T3, T4, T5, T6, T7, Tuple(Of T8, T9, T10, T11, T12, T13, T14))) As ValueTuple(Of T1, T2, T3, T4, T5, T6, T7, ValueTuple(Of T8, T9, T10, T11, T12, T13, T14))
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
.
Parameters
The tuple object to convert to a value tuple.
Returns
The converted value tuple instance.
See also
Applies to
ToValueTuple<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13>(Tuple<T1,T2,T3,T4,T5,T6,T7,Tuple<T8,T9,T10,T11,T12,T13>>)
- Source:
- TupleExtensions.cs
- Source:
- TupleExtensions.cs
- Source:
- TupleExtensions.cs
Converts an instance of the Tuple
class to an instance of the ValueTuple
structure.
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>
[System::Runtime::CompilerServices::Extension]
static ValueTuple<T1, T2, T3, T4, T5, T6, T7, ValueTuple<T8, T9, T10, T11, T12, T13>> ToValueTuple(Tuple<T1, T2, T3, T4, T5, T6, T7, Tuple<T8, T9, T10, T11, T12, T13> ^> ^ value);
public static (T1, T2, T3, T4, T5, T6, T7, (T8, T9, T10, T11, T12, T13)) ToValueTuple<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13> (this Tuple<T1,T2,T3,T4,T5,T6,T7,Tuple<T8,T9,T10,T11,T12,T13>> value);
static member ToValueTuple : ('T1 * 'T2 * 'T3 * 'T4 * 'T5 * 'T6 * 'T7 * 'T8 * 'T9 * 'T10 * 'T11 * 'T12 * 'T13) -> ValueTuple<'T1, 'T2, 'T3, 'T4, 'T5, 'T6, 'T7, ValueTuple<'T8, 'T9, 'T10, 'T11, 'T12, 'T13>>
<Extension()>
Public Function ToValueTuple(Of T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13) (value As Tuple(Of T1, T2, T3, T4, T5, T6, T7, Tuple(Of T8, T9, T10, T11, T12, T13))) As ValueTuple(Of T1, T2, T3, T4, T5, T6, T7, ValueTuple(Of T8, T9, T10, T11, T12, T13))
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
.
Parameters
The tuple object to convert to a value tuple.
Returns
The converted value tuple instance.
See also
Applies to
ToValueTuple<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12>(Tuple<T1,T2,T3,T4,T5,T6,T7,Tuple<T8,T9,T10,T11,T12>>)
- Source:
- TupleExtensions.cs
- Source:
- TupleExtensions.cs
- Source:
- TupleExtensions.cs
Converts an instance of the Tuple
class to an instance of the ValueTuple
structure.
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>
[System::Runtime::CompilerServices::Extension]
static ValueTuple<T1, T2, T3, T4, T5, T6, T7, ValueTuple<T8, T9, T10, T11, T12>> ToValueTuple(Tuple<T1, T2, T3, T4, T5, T6, T7, Tuple<T8, T9, T10, T11, T12> ^> ^ value);
public static (T1, T2, T3, T4, T5, T6, T7, (T8, T9, T10, T11, T12)) ToValueTuple<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12> (this Tuple<T1,T2,T3,T4,T5,T6,T7,Tuple<T8,T9,T10,T11,T12>> value);
static member ToValueTuple : ('T1 * 'T2 * 'T3 * 'T4 * 'T5 * 'T6 * 'T7 * 'T8 * 'T9 * 'T10 * 'T11 * 'T12) -> ValueTuple<'T1, 'T2, 'T3, 'T4, 'T5, 'T6, 'T7, ValueTuple<'T8, 'T9, 'T10, 'T11, 'T12>>
<Extension()>
Public Function ToValueTuple(Of T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) (value As Tuple(Of T1, T2, T3, T4, T5, T6, T7, Tuple(Of T8, T9, T10, T11, T12))) As ValueTuple(Of T1, T2, T3, T4, T5, T6, T7, ValueTuple(Of T8, T9, T10, T11, T12))
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
.
Parameters
The tuple object to convert to a value tuple.
Returns
The converted value tuple instance.
See also
Applies to
ToValueTuple<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11>(Tuple<T1,T2,T3,T4,T5,T6,T7,Tuple<T8,T9,T10,T11>>)
- Source:
- TupleExtensions.cs
- Source:
- TupleExtensions.cs
- Source:
- TupleExtensions.cs
Converts an instance of the Tuple
class to an instance of the ValueTuple
structure.
public:
generic <typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11>
[System::Runtime::CompilerServices::Extension]
static ValueTuple<T1, T2, T3, T4, T5, T6, T7, ValueTuple<T8, T9, T10, T11>> ToValueTuple(Tuple<T1, T2, T3, T4, T5, T6, T7, Tuple<T8, T9, T10, T11> ^> ^ value);
public static (T1, T2, T3, T4, T5, T6, T7, (T8, T9, T10, T11)) ToValueTuple<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11> (this Tuple<T1,T2,T3,T4,T5,T6,T7,Tuple<T8,T9,T10,T11>> value);
static member ToValueTuple : ('T1 * 'T2 * 'T3 * 'T4 * 'T5 * 'T6 * 'T7 * 'T8 * 'T9 * 'T10 * 'T11) -> ValueTuple<'T1, 'T2, 'T3, 'T4, 'T5, 'T6, 'T7, ValueTuple<'T8, 'T9, 'T10, 'T11>>
<Extension()>
Public Function ToValueTuple(Of T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) (value As Tuple(Of T1, T2, T3, T4, T5, T6, T7, Tuple(Of T8, T9, T10, T11))) As ValueTuple(Of T1, T2, T3, T4, T5, T6, T7, ValueTuple(Of T8, T9, T10, T11))
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
.
Parameters
The tuple object to convert to a value tuple.
Returns
The converted value tuple instance.
See also
Applies to
ToValueTuple<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>(Tuple<T1,T2,T3,T4,T5,T6,T7,Tuple<T8,T9,T10>>)
- Source:
- TupleExtensions.cs
- Source:
- TupleExtensions.cs
- Source:
- TupleExtensions.cs
Converts an instance of the Tuple
class to an instance of the ValueTuple
structure.
public:
generic <typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10>
[System::Runtime::CompilerServices::Extension]
static ValueTuple<T1, T2, T3, T4, T5, T6, T7, ValueTuple<T8, T9, T10>> ToValueTuple(Tuple<T1, T2, T3, T4, T5, T6, T7, Tuple<T8, T9, T10> ^> ^ value);
public static (T1, T2, T3, T4, T5, T6, T7, (T8, T9, T10)) ToValueTuple<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10> (this Tuple<T1,T2,T3,T4,T5,T6,T7,Tuple<T8,T9,T10>> value);
static member ToValueTuple : ('T1 * 'T2 * 'T3 * 'T4 * 'T5 * 'T6 * 'T7 * 'T8 * 'T9 * 'T10) -> ValueTuple<'T1, 'T2, 'T3, 'T4, 'T5, 'T6, 'T7, ValueTuple<'T8, 'T9, 'T10>>
<Extension()>
Public Function ToValueTuple(Of T1, T2, T3, T4, T5, T6, T7, T8, T9, T10) (value As Tuple(Of T1, T2, T3, T4, T5, T6, T7, Tuple(Of T8, T9, T10))) As ValueTuple(Of T1, T2, T3, T4, T5, T6, T7, ValueTuple(Of T8, T9, T10))
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
.
Parameters
Returns
The converted value tuple instance.
See also
Applies to
ToValueTuple<T1,T2,T3,T4,T5,T6,T7,T8,T9>(Tuple<T1,T2,T3,T4,T5,T6,T7,Tuple<T8,T9>>)
- Source:
- TupleExtensions.cs
- Source:
- TupleExtensions.cs
- Source:
- TupleExtensions.cs
Converts an instance of the Tuple
class to an instance of the ValueTuple
structure.
public:
generic <typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9>
[System::Runtime::CompilerServices::Extension]
static ValueTuple<T1, T2, T3, T4, T5, T6, T7, ValueTuple<T8, T9>> ToValueTuple(Tuple<T1, T2, T3, T4, T5, T6, T7, Tuple<T8, T9> ^> ^ value);
public static (T1, T2, T3, T4, T5, T6, T7, (T8, T9)) ToValueTuple<T1,T2,T3,T4,T5,T6,T7,T8,T9> (this Tuple<T1,T2,T3,T4,T5,T6,T7,Tuple<T8,T9>> value);
static member ToValueTuple : ('T1 * 'T2 * 'T3 * 'T4 * 'T5 * 'T6 * 'T7 * 'T8 * 'T9) -> ValueTuple<'T1, 'T2, 'T3, 'T4, 'T5, 'T6, 'T7, ValueTuple<'T8, 'T9>>
<Extension()>
Public Function ToValueTuple(Of T1, T2, T3, T4, T5, T6, T7, T8, T9) (value As Tuple(Of T1, T2, T3, T4, T5, T6, T7, Tuple(Of T8, T9))) As ValueTuple(Of T1, T2, T3, T4, T5, T6, T7, ValueTuple(Of T8, T9))
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
.
Parameters
Returns
The converted value tuple instance.
See also
Applies to
ToValueTuple<T1,T2,T3,T4,T5,T6,T7,T8>(Tuple<T1,T2,T3,T4,T5,T6,T7,Tuple<T8>>)
- Source:
- TupleExtensions.cs
- Source:
- TupleExtensions.cs
- Source:
- TupleExtensions.cs
Converts an instance of the Tuple
class to an instance of the ValueTuple
structure.
public:
generic <typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8>
[System::Runtime::CompilerServices::Extension]
static ValueTuple<T1, T2, T3, T4, T5, T6, T7, ValueTuple<T8>> ToValueTuple(Tuple<T1, T2, T3, T4, T5, T6, T7, Tuple<T8> ^> ^ value);
public static (T1, T2, T3, T4, T5, T6, T7, (T8)) ToValueTuple<T1,T2,T3,T4,T5,T6,T7,T8> (this Tuple<T1,T2,T3,T4,T5,T6,T7,Tuple<T8>> value);
static member ToValueTuple : ('T1 * 'T2 * 'T3 * 'T4 * 'T5 * 'T6 * 'T7 * 'T8) -> ValueTuple<'T1, 'T2, 'T3, 'T4, 'T5, 'T6, 'T7, ValueTuple<'T8>>
<Extension()>
Public Function ToValueTuple(Of T1, T2, T3, T4, T5, T6, T7, T8) (value As Tuple(Of T1, T2, T3, T4, T5, T6, T7, Tuple(Of T8))) As ValueTuple(Of T1, T2, T3, T4, T5, T6, T7, ValueTuple(Of T8))
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
.
Parameters
Returns
The converted value tuple instance.
See also
Applies to
ToValueTuple<T1,T2,T3,T4,T5,T6,T7>(Tuple<T1,T2,T3,T4,T5,T6,T7>)
- Source:
- TupleExtensions.cs
- Source:
- TupleExtensions.cs
- Source:
- TupleExtensions.cs
Converts an instance of the Tuple
class to an instance of the ValueTuple
structure.
public:
generic <typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7>
[System::Runtime::CompilerServices::Extension]
static ValueTuple<T1, T2, T3, T4, T5, T6, T7> ToValueTuple(Tuple<T1, T2, T3, T4, T5, T6, T7> ^ value);
public static (T1, T2, T3, T4, T5, T6, T7) ToValueTuple<T1,T2,T3,T4,T5,T6,T7> (this Tuple<T1,T2,T3,T4,T5,T6,T7> value);
static member ToValueTuple : ('T1 * 'T2 * 'T3 * 'T4 * 'T5 * 'T6 * 'T7) -> ValueTuple<'T1, 'T2, 'T3, 'T4, 'T5, 'T6, 'T7>
<Extension()>
Public Function ToValueTuple(Of T1, T2, T3, T4, T5, T6, T7) (value As Tuple(Of T1, T2, T3, T4, T5, T6, T7)) As ValueTuple(Of T1, T2, T3, T4, T5, T6, T7)
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.
Parameters
The tuple object to convert to a value tuple.
Returns
The converted value tuple instance.
See also
Applies to
ToValueTuple<T1,T2,T3,T4,T5,T6>(Tuple<T1,T2,T3,T4,T5,T6>)
- Source:
- TupleExtensions.cs
- Source:
- TupleExtensions.cs
- Source:
- TupleExtensions.cs
Converts an instance of the Tuple
class to an instance of the ValueTuple
structure.
public:
generic <typename T1, typename T2, typename T3, typename T4, typename T5, typename T6>
[System::Runtime::CompilerServices::Extension]
static ValueTuple<T1, T2, T3, T4, T5, T6> ToValueTuple(Tuple<T1, T2, T3, T4, T5, T6> ^ value);
public static (T1, T2, T3, T4, T5, T6) ToValueTuple<T1,T2,T3,T4,T5,T6> (this Tuple<T1,T2,T3,T4,T5,T6> value);
static member ToValueTuple : ('T1 * 'T2 * 'T3 * 'T4 * 'T5 * 'T6) -> ValueTuple<'T1, 'T2, 'T3, 'T4, 'T5, 'T6>
<Extension()>
Public Function ToValueTuple(Of T1, T2, T3, T4, T5, T6) (value As Tuple(Of T1, T2, T3, T4, T5, T6)) As ValueTuple(Of T1, T2, T3, T4, T5, T6)
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.
Parameters
- value
- Tuple<T1,T2,T3,T4,T5,T6>
The tuple object to convert to a value tuple.
Returns
The converted value tuple instance.
See also
Applies to
ToValueTuple<T1,T2,T3,T4,T5>(Tuple<T1,T2,T3,T4,T5>)
- Source:
- TupleExtensions.cs
- Source:
- TupleExtensions.cs
- Source:
- TupleExtensions.cs
Converts an instance of the Tuple
class to an instance of the ValueTuple
structure.
public:
generic <typename T1, typename T2, typename T3, typename T4, typename T5>
[System::Runtime::CompilerServices::Extension]
static ValueTuple<T1, T2, T3, T4, T5> ToValueTuple(Tuple<T1, T2, T3, T4, T5> ^ value);
public static (T1, T2, T3, T4, T5) ToValueTuple<T1,T2,T3,T4,T5> (this Tuple<T1,T2,T3,T4,T5> value);
static member ToValueTuple : ('T1 * 'T2 * 'T3 * 'T4 * 'T5) -> ValueTuple<'T1, 'T2, 'T3, 'T4, 'T5>
<Extension()>
Public Function ToValueTuple(Of T1, T2, T3, T4, T5) (value As Tuple(Of T1, T2, T3, T4, T5)) As ValueTuple(Of T1, T2, T3, T4, T5)
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.
Parameters
- value
- Tuple<T1,T2,T3,T4,T5>
The tuple object to convert to a value tuple.
Returns
The converted value tuple instance.
See also
Applies to
ToValueTuple<T1,T2,T3,T4>(Tuple<T1,T2,T3,T4>)
- Source:
- TupleExtensions.cs
- Source:
- TupleExtensions.cs
- Source:
- TupleExtensions.cs
Converts an instance of the Tuple
class to an instance of the ValueTuple
structure.
public:
generic <typename T1, typename T2, typename T3, typename T4>
[System::Runtime::CompilerServices::Extension]
static ValueTuple<T1, T2, T3, T4> ToValueTuple(Tuple<T1, T2, T3, T4> ^ value);
public static (T1, T2, T3, T4) ToValueTuple<T1,T2,T3,T4> (this Tuple<T1,T2,T3,T4> value);
static member ToValueTuple : ('T1 * 'T2 * 'T3 * 'T4) -> ValueTuple<'T1, 'T2, 'T3, 'T4>
<Extension()>
Public Function ToValueTuple(Of T1, T2, T3, T4) (value As Tuple(Of T1, T2, T3, T4)) As ValueTuple(Of T1, T2, T3, T4)
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.
Parameters
- value
- Tuple<T1,T2,T3,T4>
The tuple object to convert to a value tuple.
Returns
The converted value tuple instance.
See also
Applies to
ToValueTuple<T1,T2,T3>(Tuple<T1,T2,T3>)
- Source:
- TupleExtensions.cs
- Source:
- TupleExtensions.cs
- Source:
- TupleExtensions.cs
Converts an instance of the Tuple
class to an instance of the ValueTuple
structure.
public:
generic <typename T1, typename T2, typename T3>
[System::Runtime::CompilerServices::Extension]
static ValueTuple<T1, T2, T3> ToValueTuple(Tuple<T1, T2, T3> ^ value);
public static (T1, T2, T3) ToValueTuple<T1,T2,T3> (this Tuple<T1,T2,T3> value);
static member ToValueTuple : ('T1 * 'T2 * 'T3) -> ValueTuple<'T1, 'T2, 'T3>
<Extension()>
Public Function ToValueTuple(Of T1, T2, T3) (value As Tuple(Of T1, T2, T3)) As ValueTuple(Of T1, T2, T3)
Type Parameters
- T1
The type of the first element.
- T2
The type of the second element.
- T3
The type of the third element.
Parameters
- value
- Tuple<T1,T2,T3>
The tuple object to convert to a value tuple.
Returns
The converted value tuple instance.
See also
Applies to
ToValueTuple<T1,T2>(Tuple<T1,T2>)
- Source:
- TupleExtensions.cs
- Source:
- TupleExtensions.cs
- Source:
- TupleExtensions.cs
Converts an instance of the Tuple
class to an instance of the ValueTuple
structure.
public:
generic <typename T1, typename T2>
[System::Runtime::CompilerServices::Extension]
static ValueTuple<T1, T2> ToValueTuple(Tuple<T1, T2> ^ value);
public static (T1, T2) ToValueTuple<T1,T2> (this Tuple<T1,T2> value);
static member ToValueTuple : ('T1 * 'T2) -> ValueTuple<'T1, 'T2>
<Extension()>
Public Function ToValueTuple(Of T1, T2) (value As Tuple(Of T1, T2)) As ValueTuple(Of T1, T2)
Type Parameters
- T1
The type of the first element.
- T2
The type of the second element.
Parameters
- value
- Tuple<T1,T2>
The tuple object to convert to a value tuple.
Returns
The converted value tuple instance.
See also
Applies to
ToValueTuple<T1>(Tuple<T1>)
- Source:
- TupleExtensions.cs
- Source:
- TupleExtensions.cs
- Source:
- TupleExtensions.cs
Converts an instance of the Tuple
class to an instance of the ValueTuple
structure.
public:
generic <typename T1>
[System::Runtime::CompilerServices::Extension]
static ValueTuple<T1> ToValueTuple(Tuple<T1> ^ value);
public static (T1) ToValueTuple<T1> (this Tuple<T1> value);
static member ToValueTuple : ('T1) -> ValueTuple<'T1>
<Extension()>
Public Function ToValueTuple(Of T1) (value As Tuple(Of T1)) As ValueTuple(Of T1)
Type Parameters
- T1
The type of the first element.
Parameters
- value
- Tuple<T1>
The tuple object to convert to a value tuple.
Returns
The converted value tuple instance.