ToolboxItemCollection.IndexOf(ToolboxItem) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
若集合中存在,則取得指定 ToolboxItem的索引。
public:
int IndexOf(System::Drawing::Design::ToolboxItem ^ value);
public int IndexOf(System.Drawing.Design.ToolboxItem value);
member this.IndexOf : System.Drawing.Design.ToolboxItem -> int
Public Function IndexOf (value As ToolboxItem) As Integer
參數
- value
- ToolboxItem
A ToolboxItem 用來取得集合中的索引。
傳回
指定的 ToolboxItem索引。