TaskDialogButtonCollection.InsertItem(Int32, TaskDialogButton) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将元素 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 的索引。
- item
- TaskDialogButton
要插入的对象。 该值可以 null 用于引用类型。
例外
item 是 null。
item 已添加到集合中。