TaskDialogButtonCollection.InsertItem(Int32, TaskDialogButton) 메서드

정의

지정된 인덱스에 요소를 Collection<T> 삽입합니다.

protected:
 override void InsertItem(int index, System::Windows::Forms::TaskDialogButton ^ item);
protected override void InsertItem(int index, System.Windows.Forms.TaskDialogButton item);
override this.InsertItem : int * System.Windows.Forms.TaskDialogButton -> unit
Protected Overrides Sub InsertItem (index As Integer, item As TaskDialogButton)

매개 변수

index
Int32

삽입해야 하는 item 인덱스(0부터 시작)입니다.

item
TaskDialogButton

삽입할 개체입니다. 참조 형식에 대한 값일 null 수 있습니다.

예외

itemnull입니다.

item 가 이미 컬렉션에 추가되었습니다.

item 는 이미 다른 컬렉션의 일부입니다. - 또는 - 이 컬렉션이 현재 작업 대화 상자에 바인딩되어 있습니다.

적용 대상