Version

Milestone Property

Returns or sets a boolean value indicating whether the task marks a milestone in the associated project.
Syntax
'Declaration
 
Public Property Milestone As Boolean
public bool Milestone {get; set;}
Exceptions
ExceptionDescription
System.InvalidOperationExceptionThrown when the property's value is changed for a root-level task.
Remarks

A milestone task is defined as a task of zero duration that marks a noteworthy event in the parent task's timeline.

A root-level task, i.e., a task with no parent, cannot be designated as a milestone; attempting to set the Milestone property to true for a root-level task will cause an exception to be thrown.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, 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