TaskLink Class |
Namespace: Aspose.Tasks
The TaskLink type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | CrossProjectName |
Gets or sets the external predecessor project.
|
![]() ![]() | IsCrossProject |
Gets or sets a value indicating whether a predecessor is part of another project.
|
![]() ![]() | LagFormat |
Gets or sets the format for expressing the lag format.
|
![]() ![]() | LinkLag |
Gets or sets the amount of lag in tenths of a minute.
|
![]() ![]() | LinkType |
Gets or sets the type of a link.
|
![]() ![]() | PredTask |
Gets or sets the predecessor task.
|
![]() ![]() | SuccTask |
Gets or sets the successor task.
|
Name | Description | |
---|---|---|
![]() ![]() | Equals(Object) |
Returns a value indicating whether this instance is equal to a specified object.
(Overrides ObjectEquals(Object).) |
![]() ![]() | Equals(TaskLink) |
Returns a value indicating whether this instance is equal to a specified object.
|
![]() | Finalize | (Inherited from Object.) |
![]() ![]() | GetHashCode |
Returns a hash code value for the instance of the TaskLink class.
(Overrides ObjectGetHashCode.) |
![]() | GetType | (Inherited from Object.) |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() ![]() | ToString |
Returns string representation of a TaskLink.
The exact details of the representation are unspecified and subject to change.
(Overrides ObjectToString.) |
var project = new Project(DataDir + "GetPredecessorSuccessorTasks.mpp"); // Display names of predecessor and successor tasks foreach (var taskLink in project.TaskLinks) { Console.WriteLine("Predecessor: " + taskLink.PredTask.Get(Tsk.Name)); Console.WriteLine("Successor: " + taskLink.SuccTask.Get(Tsk.Name)); Console.WriteLine("Lag Format: " + taskLink.LagFormat); Console.WriteLine("Link Lag: " + taskLink.LinkLag); Console.WriteLine(); }