IGanttItemInfo.AddTaskRelation (String, GanttTaskRelationType, GanttTaskRelationMode, Double) Method
Function AddTaskRelation( _
ByVal relatedTaskID As String, _
ByVal relationType As GanttTaskRelationType, _
ByVal relationMode As GanttTaskRelationMode, _
ByVal delayDays As Double _
) As IGanttTaskRelation
This language is not supported or no code example is available.
IGanttTaskRelation AddTaskRelation(
string relatedTaskID,
GanttTaskRelationType relationType,
GanttTaskRelationMode relationMode,
double delayDays
)
This language is not supported or no code example is available.
Parameters
- relatedTaskID
- string
The ID of the related Gantt item.
- relationType
- GanttTaskRelationType
The type of the relation.
- relationMode
- GanttTaskRelationMode
The mode of the relation.
- delayDays
- double
The lag or lead time for the dependent task (in days). A positive number means lag time which delays the start time of the successor task. A negative number means lead time where the task overlaps its predecessor.
Return Value
IGanttTaskRelationThe newly added relation.
Available since QDV 7.19.478.