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::Deconstruct<T1> Method (Tuple<T1>^, T1%)

 

Deconstructs a tuple with 1 element into a separate variable.

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

public:
generic<typename T1>
[ExtensionAttribute]
static void Deconstruct(
	Tuple<T1>^ value,
	[OutAttribute] T1% item1
)

Parameters

value
Type: System::Tuple<T1>^

The 1-element tuple to deconstruct into a separate variable.

item1
Type: T1%

The value of the single element.

Type Parameters

T1

The type of the single element.

This method is implemented primarily to support the tuple language features in C#.

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