HttpRequestOptions.IDictionary<String,Object>.Remove(String) Méthode
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.
Supprime l'élément avec la clé spécifiée d'IDictionary<TKey,TValue>.
virtual bool System.Collections.Generic.IDictionary<System.String,System.Object>.Remove(System::String ^ key) = System::Collections::Generic::IDictionary<System::String ^, System::Object ^>::Remove;
bool IDictionary<string,object>.Remove (string key);
abstract member System.Collections.Generic.IDictionary<System.String,System.Object>.Remove : string -> bool
override this.System.Collections.Generic.IDictionary<System.String,System.Object>.Remove : string -> bool
Function Remove (key As String) As Boolean Implements IDictionary(Of String, Object).Remove
- key
- String
Clé de l'élément à supprimer.
true
si la suppression de l'élément réussit ; sinon, false
. Cette méthode retourne également false
si key
est introuvable dans le IDictionary<TKey,TValue> d'origine.
Ce membre est une implémentation d'un membre d'interface explicite. Il peut uniquement être utilisé lorsque l'instance de HttpRequestOptions est castée en interface IDictionary<TKey,TValue>.
Produit | Versions |
---|---|
.NET | 5, 6, 7, 8, 9 |
Commentaires sur .NET
.NET est un projet open source. Sélectionnez un lien pour fournir des commentaires: