Modifica

Condividi tramite


ServiceNameElementCollection.IndexOf(ServiceNameElement) Method

Definition

The IndexOf(ServiceNameElement) method retrieves the index of the specified configuration element in this ServiceNameElementCollection.

public:
 int IndexOf(System::Security::Authentication::ExtendedProtection::Configuration::ServiceNameElement ^ element);
public int IndexOf (System.Security.Authentication.ExtendedProtection.Configuration.ServiceNameElement element);
member this.IndexOf : System.Security.Authentication.ExtendedProtection.Configuration.ServiceNameElement -> int
Public Function IndexOf (element As ServiceNameElement) As Integer

Parameters

element
ServiceNameElement

The ServiceNameElement instance to retrieve the index of in this ServiceNameElementCollection.

Returns

The index of the specified ServiceNameElement in this ServiceNameElementCollection.

Applies to