HttpRequestOptions.IReadOnlyDictionary<String,Object>.ContainsKey Metoda

Definicja

Określa, czy słownik tylko do odczytu zawiera element, który ma określony klucz.

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

Parametry

key
String

Klucz do zlokalizowania.

Zwraca

true jeśli słownik tylko do odczytu zawiera element, który ma określony klucz; w przeciwnym razie , false.

Implementuje

Dotyczy