Tsk.Work
Tsk.Work field
The total time scheduled on a task for all assigned resources.
public static readonly Key<Duration, TaskKey> Work;
Examples
Shows how to read/write Tsk.Work property.
var project = new Project();
project.Set(Prj.WorkFormat, TimeUnitType.Hour);
var task = project.RootTask.Children.Add("Task");
task.Set(Tsk.Work, project.GetWork(1));
Console.WriteLine("Work: " + task.Get(Tsk.Work));
See Also
- struct Key<T,K>
- struct Duration
- enum TaskKey
- class Tsk
- namespace Aspose.Tasks
- assembly Aspose.Tasks