IWbs.DeleteTask Method
Parameters
- task
- ITask
The task to be deleted.
- AllowMoveDataUp
- bool
When you delete the last task of a branch, when true, minute of that task comes to the upper task (which was a branch before deletion). When false, content of the task is deleted. Default is false.
- AutoRenumbering
- bool
Indicates whether renumbering should be done when the estimate has automatic renumbering set. The default is true but for performance reasons you may want to set it to false to do a global renumbering afterwards.
Exception type | Condition |
---|---|
A problem occurred. |
The function neither rebuild WBS nor minutes. You must call
IEstimate.CheckAndRepaint method after any change brought by the function.
After successful deletion, the ITask.Kind property of the task will
be set to TaskKind.Invalid. You should no longer use this object.
Available since QDV 7.13.0001.