EmptyControlCollection.AddAt Method (Int32, Control)

 

Denies the addition of the specified Control object to the collection, at the specified index position.

Namespace:   System.Web.UI
Assembly:  System.Web (in System.Web.dll)

public override void AddAt(
	int index,
	Control child
)

Parameters

index
Type: System.Int32

The index at which to add the Control. This parameter is always ignored.

child
Type: System.Web.UI.Control

The Control to be added. This parameter is always ignored.

Exception Condition
HttpException

Always issued, because the control does not allow child controls.

.NET Framework
Available since 1.1
Return to top
Show: