ExpandoObject.ICollection<KeyValuePair<String,Object>>.Remove(KeyValuePair<String,Object>) ExpandoObject.ICollection<KeyValuePair<String,Object>>.Remove(KeyValuePair<String,Object>) ExpandoObject.ICollection<KeyValuePair<String,Object>>.Remove(KeyValuePair<String,Object>) Method

Définition

Supprime une clé et une valeur de la collection.Removes a key and value from the collection.

 virtual bool System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<string,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);
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.The KeyValuePair<TKey,TValue> structure that represents the key and value to remove from the collection.

Retours

true si la recherche et la suppression de la clé et de la valeur réussissent ; sinon, false.true if the key and value are successfully found and removed; otherwise, false. Cette méthode renvoie false si la clé et la valeur sont introuvables dans ICollection<T>.This method returns false if the key and value are not found in the ICollection<T>.

Implémente

S’applique à