Прочетете на английски Редактиране

Споделяне чрез


TaskDialogButtonCollection Class

Definition

Represents a collection of TaskDialogButton objects.

C#
public class TaskDialogButtonCollection : System.Collections.ObjectModel.Collection<System.Windows.Forms.TaskDialogButton>
Inheritance
TaskDialogButtonCollection

Constructors

TaskDialogButtonCollection()

Initializes a new instance of the TaskDialogButtonCollection class.

Methods

Add(String, Boolean, Boolean)

Creates and adds a TaskDialogButton to the collection.

ClearItems()

Removes all elements from the Collection<T>.

InsertItem(Int32, TaskDialogButton)

Inserts an element into the Collection<T> at the specified index.

RemoveItem(Int32)

Removes the element at the specified index of the Collection<T>.

SetItem(Int32, TaskDialogButton)

Replaces the element at the specified index.

Applies to

Продукт Версии
Windows Desktop 5, 6, 7, 8, 9, 10