DataGridView.DataGridViewControlCollection.Insert(Int32, Control) 메서드

정의

지정된 Control을 지정된 인덱스의 DataGridView.DataGridViewControlCollection에 삽입합니다.

public:
 void Insert(int index, System::Windows::Forms::Control ^ value);
public void Insert (int index, System.Windows.Forms.Control value);
member this.Insert : int * System.Windows.Forms.Control -> unit
Public Sub Insert (index As Integer, value As Control)

매개 변수

index
Int32

value를 삽입할 인덱스(0부터 시작)입니다.

예외

index가 0보다 작거나 DataGridView.DataGridViewControlCollection의 현재 컨트롤 수보다 크거나 같은 경우

적용 대상

추가 정보