HttpRequestOptions.IReadOnlyDictionary<String,Object>.ContainsKey Methode

Definition

Bestimmt, ob das schreibgeschützte Wörterbuch ein Element enthält, das über den angegebenen Schlüssel verfügt.

 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

Parameter

key
String

Der zu suchende Schlüssel.

Gibt zurück

true, wenn das schreibgeschützte Wörterbuch ein Element mit dem angegebenen Schlüssel enthält, andernfalls false.

Implementiert

Gilt für: