IGantt.WriteGanttAssignationToWbs Method

Assigns Gantt tasks to branches or leaves of the WBS.
Sub WriteGanttAssignationToWbs( _ 
ByVal GanttTaskUniqueID As String, _ 
ByVal WbsTask As ITask, _ 
ByVal Propagation As GanttTaskAssignationPropagationMode, _ 
Optional ByVal AdaptParentInWBS As Boolean = True _ 
)
This language is not supported or no code example is available.
void WriteGanttAssignationToWbs( 
string GanttTaskUniqueID
ITask WbsTask
GanttTaskAssignationPropagationMode Propagation
bool AdaptParentInWBS = True 
)
This language is not supported or no code example is available.

Parameters

GanttTaskUniqueID
string

A unique ID which identifies a Gantt task.

WbsTask
ITask

The WBS node you want to assign the Gantt task to. Either a branch or a leaf.

Propagation
GanttTaskAssignationPropagationMode

Defines how to propagate the assignation.

AdaptParentInWBS
bool

Optional. The default value is true. If set to true, values are also displayed in branches of the WBS when all values in a branch are the same ; otherwise, branches are kept blank. true is significantly slower.

Exception type Condition

QdvApiException

A problem occurred.

Remarks
 
Works only when the Gantt is driven by the WBS. See File / Options.
Version
 
Available since QDV 7.13.0001.

.NET Framework

Supported in: 4.8, 4.7, 4.6, 4.5.2

In this article

Definition