HttpRequestOptions.IDictionary<String,Object>.ContainsKey Metode

Definisi

Menentukan apakah IDictionary<TKey,TValue> berisi elemen dengan kunci yang ditentukan.

 virtual bool System.Collections.Generic.IDictionary<System.String,System.Object>.ContainsKey(System::String ^ key) = System::Collections::Generic::IDictionary<System::String ^, System::Object ^>::ContainsKey;
bool IDictionary<string,object>.ContainsKey (string key);
abstract member System.Collections.Generic.IDictionary<System.String,System.Object>.ContainsKey : string -> bool
override this.System.Collections.Generic.IDictionary<System.String,System.Object>.ContainsKey : string -> bool
Function ContainsKey (key As String) As Boolean Implements IDictionary(Of String, Object).ContainsKey

Parameter

key
String

Kunci untuk menemukan di IDictionary<TKey,TValue>.

Mengembalikan

trueIDictionary<TKey,TValue> jika berisi elemen dengan kunci; jika tidak, false.

Penerapan

Keterangan

Anggota ini adalah implementasi anggota antarmuka eksplisit. Ini hanya dapat digunakan ketika instans dilemparkan HttpRequestOptions ke IDictionary<TKey,TValue> antarmuka.

Berlaku untuk