Język

ServiceNameElementCollection.Remove Metoda

Definicja

Metoda Remove usuwa ServiceNameElement wystąpienie z tego ServiceNameElementCollectionelementu .

Przeciążenia

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)

Parametry

element
ServiceNameElement

Wystąpienie ServiceNameElement do usunięcia z tego ServiceNameElementCollectionelementu .

Wyjątki

Parametr element ma wartość null.

Dotyczy

Remove(String)

Metoda Remove(ServiceNameElement) usuwa z tego ServiceNameElement wystąpienia na podstawie określonego ServiceNameElementCollectionString.

public:
 void Remove(System::String ^ name);
public void Remove(string name);
member this.Remove : string -> unit
Public Sub Remove (name As String)

Parametry

name
String

Obiekt String reprezentujący wystąpienie do ServiceNameElement usunięcia z tego ServiceNameElementCollectionelementu .

Dotyczy