TupleExtensions::ToTuple<T1> Method (ValueTuple<T1>)

 

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>
[ExtensionAttribute]
static Tuple<T1>^ ToTuple(
	ValueTuple<T1> value
)

Parameters

value
Type: System::ValueTuple<T1>

The value tuple instance to convert to a tuple.

Return Value

Type: System::Tuple<T1>^

The converted tuple.

Type Parameters

T1

The type of the first element.

.NET Framework
Available since 4.7
Return to top
Show: