Click or drag to resize

TaskDialogItemCollectionTSetItem Method

Overrides the SetItem(Int32, T) method.

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

Parameters

index
Type: SystemInt32
The zero-based index of the element to replace.
item
Type: T
The new value for the element at the specified index. 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