IGanttItemInfo.AddTaskRelation (String, GanttTaskRelationType, GanttTaskRelationMode) Method

Adds a new task relation (dependency) into this item. The relation is added in the TaskRelations property.
Function AddTaskRelation( _ 
ByVal relatedTaskID As String, _ 
ByVal relationType As GanttTaskRelationType, _ 
ByVal relationMode As GanttTaskRelationMode
) As IGanttTaskRelation
This language is not supported or no code example is available.
IGanttTaskRelation AddTaskRelation( 
string relatedTaskID
GanttTaskRelationType relationType
GanttTaskRelationMode relationMode 
)
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.

Return Value

IGanttTaskRelation

The newly added relation with IGanttTaskRelation.DelayDays set to zero.

Version
 
Available since QDV 7.13.0001.

.NET Framework

Supported in: 4.8, 4.7, 4.6, 4.5.2

In this article

Definition