System.Web.UI.ControlCollection.AddAt Method

Adds the specified System.Web.UI.Control object to the collection at the specified index location.

Syntax

public virtual void AddAt (int index, Control child)

Parameters

index
The location in the array at which to add the child control.
child
The System.Web.UI.Control to add to the collection.

Remarks

The added control can be an instance of any ASP.NET server control, a custom server control you create, or a literal control.

Requirements

Namespace: System.Web.UI
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0