HttpRequestOptions.ICollection<KeyValuePair<String,Object>>.Remove Metodo

Definizione

Rimuove la prima occorrenza di un oggetto specifico da 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

Parametri

item
KeyValuePair<String,Object>

Oggetto da rimuovere dall'oggetto ICollection<T>.

Valori restituiti

true se item è stato rimosso correttamente da ICollection<T>; in caso contrario, false. Questo metodo restituisce false anche se item non viene trovato nell'oggetto originale ICollection<T>.

Implementazioni

Commenti

Questo membro è un'implementazione esplicita del membro dell'interfaccia. Può essere usato solo quando viene eseguito il cast dell'istanza a un'interfaccia HttpRequestOptionsICollection<T> .

Si applica a