Tsk.TotalSlackTimeSpan
Tsk.TotalSlackTimeSpan field
The time a task’s finish date can be delayed without delaying the project’s finish date.
public static readonly Key<TimeSpan, TaskKey> TotalSlackTimeSpan;
Examples
Shows how to read Tsk.TotalSlackTimeSpan property. The property is calculated, so usually there is no need to set it explicitly.
var project = new Project();
var task = project.RootTask.Children.Add("Task");
Console.WriteLine("Total Slack: " + task.Get(Tsk.TotalSlackTimeSpan));
See Also
- struct Key<T,K>
- enum TaskKey
- class Tsk
- namespace Aspose.Tasks
- assembly Aspose.Tasks