Editar

Partilhar via


ProtocolCollection.Remove Method

Definition

Removes a ProtocolElement object from the collection.

Overloads

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.

Remarks

Remove is introduced in the .NET Framework 3.5. For more information, see Versions and Dependencies.

Remove(String)

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

Remove(ProtocolElement)

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