IGanttItemInfo.AddHammockChildTask Method

Adds a specified task as a child item of this hammock task. The child tasks are stored in the HammockChildTasks property.
Sub AddHammockChildTask( _ 
ByVal childTaskID As String
)
This language is not supported or no code example is available.
void AddHammockChildTask( 
string childTaskID 
)
This language is not supported or no code example is available.

Parameters

childTaskID
string

The identifier of the task to be added as a hammock child.

Exception type Condition

ArgumentException

The childTaskID equals to the identifier of this hammock task. A hammock task cannot have itself as a child.

InvalidOperationException

This task is not a hammock task.

Remarks
 
If the child task is already added, this method simply returns without an exception.
Version
 
Available since QDV 7.20.788.

.NET Framework

Supported in: 4.8, 4.7, 4.6, 4.5.2

In this article

Definition