Export (0) Print
Expand All

EmptyControlCollection.AddAt Method

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.

ExceptionCondition
HttpException

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

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1
Show:
© 2015 Microsoft