Task.Status
Task.Status property
Gets task status.
public TaskStatus Status { get; }
Examples
Shows how to get task’s status.
var project = new Project(DataDir + "TaskPercentageCompletion.mpp");
// Project's status date should be set because status calculation uses status date.
project.StatusDate = new DateTime(2010, 7, 9, 15, 0, 0);
foreach (var task in project.EnumerateAllChildTasks())
{
Console.WriteLine("{0} - {1}", task.Name, task.Status);
}
See Also
- enum TaskStatus
- class Task
- namespace Aspose.Tasks
- assembly Aspose.Tasks