WebRequestModuleElementCollection.Remove Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- element
- WebRequestModuleElement
The WebRequestModuleElement to remove.
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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.