Edit

Share via


WebRequestModuleElementCollection.Remove Method

Definition

Removes an element from the collection.

Overloads

Remove(WebRequestModuleElement)

Removes the specified configuration element from the collection.

Remove(String)

Removes the element with the specified key.

Remove(WebRequestModuleElement)

Removes the specified configuration element from the collection.

public:
 void Remove(System::Net::Configuration::WebRequestModuleElement ^ element);
public void Remove (System.Net.Configuration.WebRequestModuleElement element);
member this.Remove : System.Net.Configuration.WebRequestModuleElement -> unit
Public Sub Remove (element As WebRequestModuleElement)

Parameters

Applies to

Remove(String)

Removes the element with the specified key.

public:
 void Remove(System::String ^ name);
public void Remove (string name);
member this.Remove : string -> unit
Public Sub Remove (name As String)

Parameters

name
String

The key of the element to remove.

Applies to