ServiceNameCollection.Merge ServiceNameCollection.Merge ServiceNameCollection.Merge ServiceNameCollection.Merge Method

Definition

Merges the current ServiceNameCollection with the specified values to create a new ServiceNameCollection containing the union.

Overloads

Merge(IEnumerable) Merge(IEnumerable) Merge(IEnumerable) Merge(IEnumerable)

Merges the current ServiceNameCollection with the specified values to create a new ServiceNameCollection containing the union.

Merge(String) Merge(String) Merge(String) Merge(String)

Merges the current ServiceNameCollection with the specified values to create a new ServiceNameCollection containing the union.

Merge(IEnumerable) Merge(IEnumerable) Merge(IEnumerable) Merge(IEnumerable)

Merges the current ServiceNameCollection with the specified values to create a new ServiceNameCollection containing the union.

public:
 System::Security::Authentication::ExtendedProtection::ServiceNameCollection ^ Merge(System::Collections::IEnumerable ^ serviceNames);
public System.Security.Authentication.ExtendedProtection.ServiceNameCollection Merge (System.Collections.IEnumerable serviceNames);
member this.Merge : System.Collections.IEnumerable -> System.Security.Authentication.ExtendedProtection.ServiceNameCollection
Public Function Merge (serviceNames As IEnumerable) As ServiceNameCollection

Parameters

serviceNames
IEnumerable IEnumerable IEnumerable IEnumerable

An instance of the IEnumerable class that contains the specified values of service names to be merged.

Returns

A new ServiceNameCollection instance that contains the union of the existing ServiceNameCollection instance merged with the specified values.

Exceptions

Remarks

The ServiceNameCollection class that is initialized contains the specified values passed in the items parameter.

Merge(String) Merge(String) Merge(String) Merge(String)

Merges the current ServiceNameCollection with the specified values to create a new ServiceNameCollection containing the union.

public:
 System::Security::Authentication::ExtendedProtection::ServiceNameCollection ^ Merge(System::String ^ serviceName);
public System.Security.Authentication.ExtendedProtection.ServiceNameCollection Merge (string serviceName);
member this.Merge : string -> System.Security.Authentication.ExtendedProtection.ServiceNameCollection
Public Function Merge (serviceName As String) As ServiceNameCollection

Parameters

serviceName
String String String String

A string that contains the specified values of service names to be used to initialize the class.

Returns

A new ServiceNameCollection instance that contains the union of the existing ServiceNameCollection instance merged with the specified values.

Exceptions

Remarks

The ServiceNameCollection class that is initialized contains the specified values passed in the items parameter.

Applies to