Control.ControlCollection.IList.Add(Object) Control.ControlCollection.IList.Add(Object) Control.ControlCollection.IList.Add(Object) Method

Definition

For a description of this member, see Add(Object).

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 ^ control) = System::Collections::IList::Add;
int IList.Add (object control);
Function Add (control As Object) As Integer Implements IList.Add

Parameters

control
Object Object Object

The object to add to this 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

Remarks

This member is an explicit interface member implementation. It can be used only when the Control.ControlCollection instance is cast to an IList interface.

Applies to