Szerkesztés

Megosztás a következőn keresztül:


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

Definition

Removes the element with the specified key from the 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

Parameters

key
String

The key of the element to remove.

Returns

true if the element is successfully removed; otherwise, false. This method also returns false if key was not found in the original IDictionary<TKey,TValue>.

Implements

Remarks

This member is an explicit interface member implementation. It can be used only when the HttpRequestOptions instance is cast to an IDictionary<TKey,TValue> interface.

Applies to