Partilhar via


KeyValuePair<TKey,TValue>.Deconstruct(TKey, TValue) Método

Definição

Desconstrói o KeyValuePair<TKey,TValue> atual.

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)

Parâmetros

key
TKey

A chave do KeyValuePair<TKey,TValue> atual.

value
TValue

O valor do KeyValuePair<TKey,TValue> atual.

Aplica-se a