QDVGantt.WriteGanttAssignationToWBS Method

NOTE: This member is now obsolete. Use Qdv.UserApi.IGantt.WriteGanttAssignationToWbs instead.

Assigns Gantt tasks to branches or leaves of the WBS.
[Obsolete("Use Qdv.UserApi.IGantt.WriteGanttAssignationToWbs instead.")] 
public int WriteGanttAssignationToWBS( 
string UniqueIDToGanttTask
string WBSHexTaskIndex
PropagationMode Propagation
bool AdaptParentInWBS = True, 
ref string ErrorMessage = "" 
)
This language is not supported or no code example is available.

Parameters

UniqueIDToGanttTask
string

A unique ID which identifies a Gantt task.

WBSHexTaskIndex
string

A unique 24-hex-chars task identifier to the WBS. The node you want to assign the Gantt task to. Either a branch or a leaf.

Propagation
PropagationMode

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.

ErrorMessage
string

Optional. The returned error message. An empty string when no error.

Return Value

int

The error number. ErrorIDs.OK when no error.

Remarks
 
Works only when the Gantt is driven by the WBS. See File / Options.

.NET Framework

Supported in: 4.8, 4.7, 4.6, 4.5.2

In this article

Definition