Add

Add (1 of 4)

Returns an instance of Finish-Start TaskLink which has been added to the TaskLinkCollection object.

Returns: a task link instance which has been added to this object.

Add(const System::SharedPtr< Task > & pred, const System::SharedPtr< Task > & succ)
ParameterDescription
predPredecessor task.
succSuccessor task.

Add (2 of 4)

Returns an instance of TaskLink which has been added to the TaskLinkCollection object.

Returns: a task link instance which has been added to this object.

Add(const System::SharedPtr< Task > & pred, const System::SharedPtr< Task > & succ, TaskLinkType linkType)
ParameterDescription
predPredecessor task.
succSuccessor task.
linkTypeLink type TaskLinkType

Add (3 of 4)

Returns an instance of TaskLink which has been added to the TaskLinkCollection object.

Returns: a task link which has been added to this object.

Add(const System::SharedPtr< Task > & pred, const System::SharedPtr< Task > & succ, TaskLinkType linkType, Duration lag)
ParameterDescription
predPredecessor task.
succSuccessor task.
linkTypeLink type TaskLinkType
lagLink lag Duration .

Add (4 of 4)

This is the stub implementation of ICollection’s Add method, that only throws NotSupportedException

Returns: void Aspose::Tasks::

Add(const System::SharedPtr< TaskLink > & item)
ParameterDescription
itemThe item to add.