Share via


KeyValuePair<TKey,TValue>.Deconstruct(TKey, TValue) Yöntem

Tanım

Geçerli KeyValuePair<TKey,TValue>öğesinin yapısından çıkar.

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)

Parametreler

key
TKey

Geçerli KeyValuePair<TKey,TValue>anahtarının.

value
TValue

Geçerli KeyValuePair<TKey,TValue>değerinin değeri.

Şunlara uygulanır