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

Definicja

Usuwa pierwsze wystąpienie określonego obiektu z obiektu 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

Parametry

item
KeyValuePair<String,Object>

Obiekt do usunięcia z obiektu ICollection<T>.

Zwraca

true jeśli item polecenie zostało pomyślnie usunięte z obiektu ICollection<T>; w przeciwnym razie false. Ta metoda zwraca również wartość false , jeśli item nie zostanie znaleziona w oryginalnym ICollection<T>pliku .

Implementuje

Uwagi

Ten element jest jawną implementacją członków. Można go używać tylko wtedy, gdy HttpRequestOptions wystąpienie jest rzutowe do interfejsu ICollection<T> .

Dotyczy