TupleExtensions::ToValueTuple<T1, T2> Method (Tuple<T1, T2>^)
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> [ExtensionAttribute] static ValueTuple<T1, T2> ToValueTuple( Tuple<T1, T2>^ value )
Parameters
- value
-
Type:
System::Tuple<T1, T2>^
The tuple object to convert to a value tuple
Type Parameters
- T1
The type of the first element.
- T2
The type of the second element.
.NET Framework
Available since 4.7
Available since 4.7
Show: