StatusBar.StatusBarPanelCollection.IList.IndexOf(Object) 方法

定義

傳回集合中指定之面板的索引。

 virtual int System.Collections.IList.IndexOf(System::Object ^ panel) = System::Collections::IList::IndexOf;
int IList.IndexOf (object panel);
abstract member System.Collections.IList.IndexOf : obj -> int
override this.System.Collections.IList.IndexOf : obj -> int
Function IndexOf (panel As Object) As Integer Implements IList.IndexOf

參數

panel
Object

要在集合中尋找的 StatusBarPanel

傳回

Int32

如果找到的話,則為面板在整個集合中之以零起始的索引,否則為 -1。

實作

適用於