TaskStartDateType

TaskStartDateType enumeration

Specifies the type of a task’s start date.

public enum TaskStartDateType

Values

Name Value Description
Undefined -1 The field’s value was not defined in original project file.
ProjectStartDate 0 Project start date
CurrentDate 1 Current date

Remarks

While exporting into XML the Undefined values will be eliminated from resulting XML.

Examples

Shows how to set task’s default start date as ‘CurrentDate’.

var project = new Project();
project.Set(Prj.NewTaskStartDate, TaskStartDateType.CurrentDate);
project.Save(OutDir + "SetAttributesForNewTasks_out.xml", SaveFileFormat.Xml);

See Also