Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

TupleExtensions::ToValueTuple<T1> Method (Tuple<T1>^)

 

Converts an instance of the Tuple class to an instance of the ValueTuple structure.

Namespace:   System
Assembly:  mscorlib (in mscorlib.dll)

public:
generic<typename T1>
[ExtensionAttribute]
static ValueTuple<T1> ToValueTuple(
	Tuple<T1>^ value
)

Parameters

value
Type: System::Tuple<T1>^

The tuple object to convert to a value tuple

Return Value

Type: System::ValueTuple<T1>

The converted value tuple instance.

Type Parameters

T1

The type of the first element.

.NET Framework
Available since 4.7
Return to top
Show:
© 2017 Microsoft