HttpRequestOptions.IReadOnlyDictionary<String,Object>.ContainsKey Méthode

Définition

Détermine si le dictionnaire en lecture seule contient un élément avec la clé spécifiée.

 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

Paramètres

key
String

Clé à rechercher.

Retours

true si le dictionnaire en lecture seule contient un élément qui possède la clé spécifiée ; sinon, false.

Implémente

S’applique à