Share via


DesignerActionListCollection.IndexOf(DesignerActionList) 方法

定義

決定集合中指定項目的索引。

public:
 int IndexOf(System::ComponentModel::Design::DesignerActionList ^ value);
public int IndexOf (System.ComponentModel.Design.DesignerActionList value);
public int IndexOf (System.ComponentModel.Design.DesignerActionList? value);
member this.IndexOf : System.ComponentModel.Design.DesignerActionList -> int
Public Function IndexOf (value As DesignerActionList) As Integer

參數

value
DesignerActionList

要在集合中尋找的 DesignerActionList

傳回

如果在內部清單中找到,則為 value 的索引,否則為 -1。

備註

在內部,類別 DesignerActionListCollection 會使用 System.Collections.ArrayList 來包含其物件的集合 DesignerActionList

適用於

另請參閱