IGanttItemInfo.TaskRelations Property

Gets or sets the list of task relations (dependencies).
Property TaskRelations() As List(Of IGanttTaskRelation)
This language is not supported or no code example is available.
List<IGanttTaskRelation> TaskRelations {get; set;}
This language is not supported or no code example is available.

Property Value

List<IGanttTaskRelation>

A list of task relations which defines how the current task is constrained by other tasks.

Remarks
 
This has not effect for a group.

Remember that this property always returns a new copy of the internal list of relations. Therefore, if you call methods on this list copy, such as List<T>.Add, List<T>.Remove, List<T>.Clear, it will have no effect. To add a relation, use the AddTaskRelation method. To remove all relations, just set a new List instance to this property.

Version
 
Available since QDV 7.13.0001.

.NET Framework

Supported in: 4.8, 4.7, 4.6, 4.5.2

In this article

Definition