IWbs.CreateLink Method
Parameters
- parentTask
- ITask
The parent task.
- childTask
- ITask
The child task.
- recalculate
- bool
Indicates whether to recalculate the costs for the child task. In this case, the method calculates the parent task, which will cause the result to be written in all child tasks too. You can set it to null reference (Nothing in Visual Basic) for performance reasons and recalculate the estimate later (e.g. with IEstimateVersion.ComputeAll).
Exception type | Condition |
---|---|
An error occurred. For example, if the child task is already linked to some parent task. |
The function neither rebuilds WBS nor minutes. You must call IEstimate.CheckAndRepaint method after any change made
by the function.
Available since QDV 7.18.697.