HttpRequestOptions.IDictionary<String,Object>.Remove(String) Metoda

Definicja

Usuwa element z określonym kluczem z elementu IDictionary<TKey,TValue>.

 virtual bool System.Collections.Generic.IDictionary<System.String,System.Object>.Remove(System::String ^ key) = System::Collections::Generic::IDictionary<System::String ^, System::Object ^>::Remove;
bool IDictionary<string,object>.Remove (string key);
abstract member System.Collections.Generic.IDictionary<System.String,System.Object>.Remove : string -> bool
override this.System.Collections.Generic.IDictionary<System.String,System.Object>.Remove : string -> bool
Function Remove (key As String) As Boolean Implements IDictionary(Of String, Object).Remove

Parametry

key
String

Klucz elementu do usunięcia.

Zwraca

Wartość true, jeśli element zostanie pomyślnie usunięty; w przeciwnym razie — false. Ta metoda zwraca również wartość false , jeśli key nie została znaleziona w oryginalnym IDictionary<TKey,TValue>obiekcie .

Implementuje

Uwagi

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

Dotyczy