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

Definition

Tar bort den första förekomsten av ett specifikt objekt från 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

Parametrar

item
KeyValuePair<String,Object>

Objektet som ska tas bort från ICollection<T>.

Returer

trueom item har tagits bort från ICollection<T>; annars . false Den här metoden returnerar false även om item det inte finns i den ursprungliga ICollection<T>.

Implementeringar

Kommentarer

Den här medlemmen är en explicit implementering av gränssnittsmedlemmar. Den kan endast användas när instansen HttpRequestOptions skickas till ett ICollection<T> gränssnitt.

Gäller för