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

Définition

Supprime la première occurrence d’un objet spécifique de l’objet ICollection<T>.

 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>

Objet à supprimer du ICollection<T>.

Retours

true si item elle a été correctement supprimée du ICollection<T>; sinon, false. Cette méthode retourne false également si item elle est introuvable dans l’original ICollection<T>.

Implémente

Remarques

Ce membre est une implémentation explicite de membre d’interface. Elle ne peut être utilisée que lorsque l’instance HttpRequestOptions est convertie en ICollection<T> interface.

S’applique à