ServiceNameElementCollection.Remove Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)
The Remove(ServiceNameElement) method removes a ServiceNameElement instance from this ServiceNameElementCollection.
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
.NET