語言

ServiceNameElementCollection.IndexOf(ServiceNameElement) 方法

定義

該 IndexOf(ServiceNameElement) 方法會取得該 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

參數

傳回

此中指定的 ServiceNameElementServiceNameElementCollection的索引。

適用於