StatusBar.StatusBarPanelCollection.IList.IndexOf(Object) StatusBar.StatusBarPanelCollection.IList.IndexOf(Object) StatusBar.StatusBarPanelCollection.IList.IndexOf(Object) Method

Definition

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);
Function IndexOf (panel As Object) As Integer Implements IList.IndexOf

Parameters

panel
Object Object Object

The StatusBarPanel to locate in the collection.

Returns

The zero-based index of panel, if found, within the entire collection; otherwise, -1.

Implements

Applies to