NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

ControlCollection.AddAt

Adds the specified Control object to the collection. The new child is added to the array at the specified index location.

[Visual Basic]
Overridable Public Sub AddAt( _
   ByVal index As Integer, _
   ByVal child As Control _
)
[C#]
public virtual void AddAt(
   int index,
   Control child
);
[C++]
public: virtual void AddAt(
   int index,
   Control* child
);
[JScript]
public function AddAt(
   index : int,
   child : Control
);

Parameters

index
[To be supplied.]
child
The Control object to add to the collection.

Exceptions

Exception Type Condition
HttpException Thrown if the control does not allow child controls.
ArgumentException Thrown if the child value is null.

See Also

ControlCollection Class | ControlCollection Members | System.Web.UI Namespace