Editar

Compartir a través de


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);
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.

Implements

Applies to