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

Definition

Entfernt das erste Vorkommen eines bestimmten Objekts aus dem 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

Parameter

item
KeyValuePair<String,Object>

Das Objekt, das aus dem ICollection<T>entfernt werden soll.

Gibt zurück

true wenn item erfolgreich aus dem ICollection<T>; andernfalls falseentfernt wurde. Diese Methode gibt auch zurück false , wenn item sie nicht im Original ICollection<T>gefunden wird.

Implementiert

Hinweise

Dieses Element ist eine explizite Schnittstellenmitgliedsimplementierung. Sie kann nur verwendet werden, wenn die HttpRequestOptions Instanz in eine ICollection<T> Schnittstelle umgegossen wird.

Gilt für: