Freigeben über


KeyValuePair<TKey,TValue>.Deconstruct(TKey, TValue) Methode

Definition

Dekonstruiert die aktuelle KeyValuePair<TKey,TValue>-Struktur.

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)

Parameter

key
TKey

Der Schlüssel der aktuellen KeyValuePair<TKey,TValue>-Struktur.

value
TValue

Der Wert der aktuellen KeyValuePair<TKey,TValue>.

Gilt für: