EmptyControlCollection.AddAt Method (Int32, Control)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: