HttpRequestOptions.IDictionary<String,Object>.ContainsKey Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Détermine si le IDictionary<TKey,TValue> contient un élément avec la clé spécifiée.
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
Paramètres
- key
- String
Clé à localiser dans le IDictionary<TKey,TValue>.
Retours
true si le IDictionary<TKey,TValue> contient un élément avec la clé ; sinon, false.
Implémente
Remarques
Ce membre est une implémentation explicite de membre d’interface. Elle ne peut être utilisée que lorsque l’instance HttpRequestOptions est convertie en IDictionary<TKey,TValue> interface.