HttpRequestOptions.IDictionary<String,Object>.ContainsKey Metoda

Definicja

Określa, czy element IDictionary<TKey,TValue> zawiera element z określonym kluczem.

 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

Parametry

key
String

Klucz do zlokalizowania w obiekcie IDictionary<TKey,TValue>.

Zwraca

true jeśli element IDictionary<TKey,TValue> zawiera element z kluczem; falsew przeciwnym razie .

Implementuje

Uwagi

Ten element jest jawną implementacją członków. Można go używać tylko wtedy, gdy HttpRequestOptions wystąpienie jest rzutowanie do interfejsu IDictionary<TKey,TValue> .

Dotyczy