ExpandoObject.IDictionary<String,Object>.Remove(String) 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.
Supprime de IDictionary l’élément ayant la clé spécifiée.
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
Paramètres
- key
- String
Clé de l'élément à supprimer.
Retours
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.