StatusBar.StatusBarPanelCollection.IList.IndexOf(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the index of the specified panel within the collection.
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
Parameters
- panel
- Object
The StatusBarPanel to locate in the collection.
Returns
The zero-based index of panel, if found, within the entire collection; otherwise, -1.