语言

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)基于ServiceNameElement指定的实例从中删除ServiceNameElementCollection该实例。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表示要从此ServiceNameElement中删除的ServiceNameElementCollection实例。

适用于