Bewerken

Delen via


ServiceNameElementCollection.Remove Method

Definition

The Remove method removes a ServiceNameElement instance from this ServiceNameElementCollection.

Overloads

Remove(ServiceNameElement)

The Remove(ServiceNameElement) method removes a ServiceNameElement instance from this ServiceNameElementCollection.

Remove(String)

The Remove(ServiceNameElement) method removes a ServiceNameElement instance from this ServiceNameElementCollection based on the String specified.

Remove(ServiceNameElement)

public:
 void Remove(System::Security::Authentication::ExtendedProtection::Configuration::ServiceNameElement ^ element);
public void Remove (System.Security.Authentication.ExtendedProtection.Configuration.ServiceNameElement element);
member this.Remove : System.Security.Authentication.ExtendedProtection.Configuration.ServiceNameElement -> unit
Public Sub Remove (element As ServiceNameElement)

Parameters

element
ServiceNameElement

The ServiceNameElement instance to remove from this ServiceNameElementCollection.

Exceptions

element is null.

Applies to

Remove(String)

The Remove(ServiceNameElement) method removes a ServiceNameElement instance from this ServiceNameElementCollection based on the String specified.

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

A String that represents the ServiceNameElement instance to remove from this ServiceNameElementCollection.

Applies to