ProtocolCollection.Remove Method
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 a ProtocolElement object from the collection.
Remove(String) |
This API supports the product infrastructure and is not intended to be used directly from your code. Removes the ProtocolElement object that has the specified key from the collection. |
Remove(ProtocolElement) |
This API supports the product infrastructure and is not intended to be used directly from your code. Removes the specified ProtocolElement object from the collection. |
Remove is introduced in the .NET Framework 3.5. For more information, see Versions and Dependencies.
Removes the ProtocolElement object that has the specified key from the collection.
This API supports the product infrastructure and is not intended to be used directly from your code.
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 ProtocolElement object to remove.
Remarks
Remove is introduced in the .NET Framework 3.5. For more information, see Versions and Dependencies.
Applies to
.NET Framework 4.8.1 and other versions
Product | Versions |
---|---|
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Removes the specified ProtocolElement object from the collection.
This API supports the product infrastructure and is not intended to be used directly from your code.
public:
void Remove(System::Web::Configuration::ProtocolElement ^ protocolElement);
public void Remove (System.Web.Configuration.ProtocolElement protocolElement);
member this.Remove : System.Web.Configuration.ProtocolElement -> unit
Public Sub Remove (protocolElement As ProtocolElement)
Parameters
- protocolElement
- ProtocolElement
The element to remove.
Remarks
Remove is introduced in the .NET Framework 3.5. For more information, see Versions and Dependencies.
Applies to
.NET Framework 4.8.1 and other versions
Product | Versions |
---|---|
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: