DictionaryEntry.Deconstruct(Object, Object) 方法

定義

解構目前的 DictionaryEntryDeconstructs the current DictionaryEntry.

public:
 void Deconstruct([Runtime::InteropServices::Out] System::Object ^ % key, [Runtime::InteropServices::Out] System::Object ^ % value);
public void Deconstruct (out object key, out object? value);
public void Deconstruct (out object key, out object value);
member this.Deconstruct : obj * obj -> unit
Public Sub Deconstruct (ByRef key As Object, ByRef value As Object)

參數

key
Object

目前 DictionaryEntry 的索引鍵。The key of the current DictionaryEntry.

value
Object

目前 DictionaryEntry 的值。The value of the current DictionaryEntry.

適用於