Επεξεργασία

Κοινή χρήση μέσω


StatusBar.StatusBarPanelCollection.IList.Add(Object) Method

Definition

Adds a StatusBarPanel to the collection.

This API supports the product infrastructure and is not intended to be used directly from your code.

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

Parameters

value
Object

A StatusBarPanel that represents the panel to add to the collection.

Returns

The position into which the new element was inserted, or -1 to indicate that the item was not inserted into the collection.

Implements

Exceptions

value is not a StatusBarPanel.

-or-

The parent of value is not null.

Applies to