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

Definition

Tar bort elementet med den angivna nyckeln från 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

Parametrar

key
String

Nyckeln för elementet som ska tas bort.

Returer

trueom elementet har tagits bort. annars . false Den här metoden returnerar false även om key det inte hittades i den ursprungliga IDictionary<TKey,TValue>.

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 IDictionary<TKey,TValue> gränssnitt.

Gäller för