TaskDialogRadioButtonCollection.SetItem(Int32, TaskDialogRadioButton) 메서드

정의

지정된 인덱스에 있는 요소를 바꿉니다.

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

매개 변수

index
Int32

바꿀 요소의 인덱스(0부터 시작)입니다.

item
TaskDialogRadioButton

지정한 인덱스에 있는 요소의 새 값입니다. 참조 형식에 대해 값은 null이 될 수 있습니다.

예외

item이(가) null인 경우

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

item이 이미 다른 컬렉션에 속해 있습니다.

또는

이 컬렉션은 현재 작업 대화 상자에 바인딩되어 있습니다.

적용 대상