TupleExtensions::Deconstruct<T1> Method (Tuple<T1>^, T1%)
Deconstructs a tuple with 1 element into a separate variable.
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
Available since 4.7
Show: