WsiProfilesElementCollection.IndexOf(WsiProfilesElement) 方法

定義

傳回集合中指定 WsiProfilesElement 的以零起始的索引。

public:
 int IndexOf(System::Web::Services::Configuration::WsiProfilesElement ^ element);
public int IndexOf (System.Web.Services.Configuration.WsiProfilesElement element);
member this.IndexOf : System.Web.Services.Configuration.WsiProfilesElement -> int
Public Function IndexOf (element As WsiProfilesElement) As Integer

參數

element
WsiProfilesElement

要在集合中尋找的 WsiProfilesElement

傳回

指定 WsiProfilesElement 的以零起始的索引;如果在集合中找不到此項目,則為 -1。

適用於