System.Web.UI.ControlCollection.RemoveAt Method

Removes a child control, at the specified index location, from the System.Web.UI.ControlCollection object.

Syntax

public virtual void RemoveAt (int index)

Parameters

index
The ordinal index of the server control to be removed from the collection.

Remarks

To remove a control from the collection based on its value, use the ControlCollection.Remove(Control) method.

Requirements

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