Editar

Compartilhar via


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);
int IList.Add (object? control);
abstract member System.Collections.IList.Add : obj -> int
override this.System.Collections.IList.Add : obj -> int
override this.System.Collections.IList.Add : obj -> int
Function Add (control As Object) As Integer Implements IList.Add

Parameters

control
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