語言

EmptyControlCollection.AddAt(Int32, Control) 方法

定義

拒絕在指定的索引位置將指定 Control 物件加入集合。

public:
 override void AddAt(int index, System::Web::UI::Control ^ child);
public override void AddAt(int index, System.Web.UI.Control child);
override this.AddAt : int * System.Web.UI.Control -> unit
Public Overrides Sub AddAt (index As Integer, child As Control)

參數

index
Int32

在該處加入 Control的索引。 這個參數總是被忽略。

child
Control

Control待補充。 這個參數總是被忽略。

例外狀況

總是會被發放,因為控制不允許使用子控制。

適用於