'Declaration Public Enum ProjectTaskStates Inherits System.Enum
public enum ProjectTaskStates : System.Enum
Member | Description |
---|---|
Active | A task whose ProjectTask.IsActive property is true. Inactive tasks do not affect the project schedule. |
Critical | A task that is along the critical path. That is a task that cannot be delayed without affecting the project end date. A task is critical if it has no slack, has a Must Start On or Must Finish On constraint, has a As Late As Possible constraint in a project scheduled from a start date, has a As Soon As Possible constraint in a project scheduled from the finish date or has a finish date greater than or equal to its ProjectTask.Deadline. Summaries are also considered critical. Items that would not be considered critical are the recurrence root, milestones, activities that were completed (i.e. PercentComplete = 100) or inactive tasks. |
DisplayAsCritical | Indicates that the task is critical and the option to highlight the critical tasks is enabled. |
Finished | A task whose ProjectTask.PercentComplete is 100. |
InProgress | A task whose ProjectTask.PercentComplete is greater than 0 and less than 100. |
ManuallyScheduled | A task whose ProjectTask.IsManual property is set to true. |
Marked | A task whose ProjectTask.IsMarked property is set to true. |
Milestone | A task whose ProjectTask.IsMilestone property is set to true. |
None | None |
Normal | A regular leaf task. This does not include milestones, summary tasks or a recurrence root task. |
NotStarted | A task whose ProjectTask.PercentComplete is 0. |
Placeholder | The task is missing the ProjectTask.ManualStart, ProjectTask.ManualFinish, ProjectTask.ManualDuration or any combination thereof. |
PlaceholderDuration | The task has its ProjectTask.ManualDuration set but not its ProjectTask.ManualStart or ProjectTask.ManualFinish. |
PlaceholderFinish | The task has its ProjectTask.ManualFinish set but not its ProjectTask.ManualStart. |
PlaceholderStart | The task has its ProjectTask.ManualStart set but the ProjectTask.ManualFinish and/or ProjectTask.ManualDuration are not. |
ProjectSummary | A task that represents the project summary. |
Summary | A task that has child tasks including the Project Summary but does not include the recurrence root task. |
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2