Rediger

Del via


StatusBar.StatusBarPanelCollection.IList.Insert(Int32, Object) Method

Definition

Inserts the specified StatusBarPanel into the collection at the specified index.

 virtual void System.Collections.IList.Insert(int index, System::Object ^ value) = System::Collections::IList::Insert;
void IList.Insert (int index, object value);
abstract member System.Collections.IList.Insert : int * obj -> unit
override this.System.Collections.IList.Insert : int * obj -> unit
Sub Insert (index As Integer, value As Object) Implements IList.Insert

Parameters

index
Int32

The zero-based index location where the panel is inserted.

value
Object

A StatusBarPanel that represents the panel to insert.

Implements

Exceptions

The index parameter is less than zero or greater than the value of the Count property.

value is not a StatusBarPanel.

-or-

The parent of value is not null.

Applies to