Version

ProjectTaskStates Enumeration

Enumeration used to the state(s) of a ProjectTask.
Syntax
'Declaration
 
Public Enum ProjectTaskStates 
   Inherits System.Enum
public enum ProjectTaskStates : System.Enum 
Members
MemberDescription
ActiveA task whose ProjectTask.IsActive property is true. Inactive tasks do not affect the project schedule.
CriticalA 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.
DisplayAsCriticalIndicates that the task is critical and the option to highlight the critical tasks is enabled.
FinishedA task whose ProjectTask.PercentComplete is 100.
InProgressA task whose ProjectTask.PercentComplete is greater than 0 and less than 100.
ManuallyScheduledA task whose ProjectTask.IsManual property is set to true.
MarkedA task whose ProjectTask.IsMarked property is set to true.
MilestoneA task whose ProjectTask.IsMilestone property is set to true.
NoneNone
NormalA regular leaf task. This does not include milestones, summary tasks or a recurrence root task.
NotStartedA task whose ProjectTask.PercentComplete is 0.
PlaceholderThe task is missing the ProjectTask.ManualStart, ProjectTask.ManualFinish, ProjectTask.ManualDuration or any combination thereof.
PlaceholderDurationThe task has its ProjectTask.ManualDuration set but not its ProjectTask.ManualStart or ProjectTask.ManualFinish.
PlaceholderFinishThe task has its ProjectTask.ManualFinish set but not its ProjectTask.ManualStart.
PlaceholderStartThe task has its ProjectTask.ManualStart set but the ProjectTask.ManualFinish and/or ProjectTask.ManualDuration are not.
ProjectSummaryA task that represents the project summary.
SummaryA task that has child tasks including the Project Summary but does not include the recurrence root task.
Requirements

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

See Also