TaskDialogItemCollectionTInsertItem Method | 
Namespace: Ookii.Dialogs
| Exception | Condition | 
|---|---|
| ArgumentNullException | item is . | 
| ArgumentException | The TaskDialogItem specified in item is already associated with a different task dialog. | 
| InvalidOperationException | The 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.  |