ExpandoObject.IDictionary<String,Object>.Remove(String) Méthode

Définition

Supprime l’élément qui a la clé spécifiée du IDictionary.

 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 l’élément a été supprimé avec succès ; sinon, false. Cette méthode retourne false également si key elle n’a pas été trouvée dans l’original IDictionary<TKey,TValue>.

Implémente

S’applique à