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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.