TableRow.CellControlCollection.AddAt(Int32, Control) 메서드

정의

컬렉션에 지정된 Control 개체를 TableRow.CellControlCollection 추가합니다. 새 컨트롤이 지정된 인덱스 위치의 배열에 추가됩니다.

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

자식 컨트롤을 추가할 배열의 위치입니다.

child
Control

Control 에 추가할 수 있는 개체입니다TableRow.CellControlCollection.

예외

추가 Control 된 형식 TableCell이어야 합니다.

설명

추가된 컨트롤은 개체일 수 있습니다 TableCell . 그렇지 않으면 throw ArgumentException 됩니다.

적용 대상

추가 정보