TaskDialogButtonCollection.SetItem(Int32, TaskDialogButton) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
protected:
override void SetItem(int index, System::Windows::Forms::TaskDialogButton ^ item);
protected override void SetItem (int index, System.Windows.Forms.TaskDialogButton item);
override this.SetItem : int * System.Windows.Forms.TaskDialogButton -> unit
Protected Overrides Sub SetItem (index As Integer, item As TaskDialogButton)
パラメーター
- index
- Int32
- item
- TaskDialogButton
例外
item が nullです。
item が既にコレクションに追加されています。
item は既に別のコレクションの一部になっています。
または、現在、このコントロールはタスク ダイアログにバインドされています。