KeyValuePair<TKey,TValue>.Deconstruct(TKey, TValue) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Deconstructs the current KeyValuePair<TKey,TValue>.
public:
void Deconstruct([Runtime::InteropServices::Out] TKey % key, [Runtime::InteropServices::Out] TValue % value);
public void Deconstruct (out TKey key, out TValue value);
member this.Deconstruct : 'Key * 'Value -> unit
Public Sub Deconstruct (ByRef key As TKey, ByRef value As TValue)
Parameters
- key
- TKey
The key of the current KeyValuePair<TKey,TValue>.
- value
- TValue
The value of the current KeyValuePair<TKey,TValue>.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.