語言

ServiceNameElementCollection.Remove 方法

定義

該Remove方法從中ServiceNameElement移除一個ServiceNameElementCollection實例。

多載

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)

參數

例外狀況

element 是 null。

適用於

Remove(String)

該Remove(ServiceNameElement)方法根據指定條件從此ServiceNameElementServiceNameElementCollection中移除一個String實例。

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

參數

name
String

String A代表ServiceNameElement要從中ServiceNameElementCollection移除的實例。

適用於