ExpandoObject.ICollection<KeyValuePair<String,Object>>.Remove Méthode

Définition

Supprime une clé et une valeur de la collection.

 virtual bool System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String,System.Object>>.Remove(System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^> item) = System::Collections::Generic::ICollection<System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^>>::Remove;
bool ICollection<KeyValuePair<string,object>>.Remove (System.Collections.Generic.KeyValuePair<string,object> item);
abstract member System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String,System.Object>>.Remove : System.Collections.Generic.KeyValuePair<string, obj> -> bool
override this.System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String,System.Object>>.Remove : System.Collections.Generic.KeyValuePair<string, obj> -> bool
Function Remove (item As KeyValuePair(Of String, Object)) As Boolean Implements ICollection(Of KeyValuePair(Of String, Object)).Remove

Paramètres

item
KeyValuePair<String,Object>

Structure KeyValuePair<TKey,TValue> qui représente la clé et la valeur à supprimer de la collection.

Retours

true si la clé et la valeur sont trouvées et supprimées ; sinon, false. Cette méthode retourne false si la clé et la valeur sont introuvables dans le ICollection<T>.

Implémente

S’applique à