Click or drag to resize

TaskDialogItemCollectionTInsertItem Method

Overrides the InsertItem(Int32, T) method.

Namespace:  Ookii.Dialogs
Assembly:  Ookii.Dialogs (in Ookii.Dialogs.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
protected override void InsertItem(
	int index,
	T item
)

Parameters

index
Type: SystemInt32
The zero-based index at which item should be inserted.
item
Type: T
The object to insert. May not be .
Exceptions
ExceptionCondition
ArgumentNullExceptionitem is .
ArgumentExceptionThe TaskDialogItem specified in item is already associated with a different task dialog.
InvalidOperationExceptionThe TaskDialogItem specified in item has a duplicate id or button type.
ArgumentOutOfRangeException

index is less than zero.

-or-

index is equal to or greater than Count.

See Also