TaskStartDateType

TaskStartDateType enumeration

Specifies the type of a task’s start date.

public enum TaskStartDateType

Values

NameValueDescription
Undefined-1The field’s value was not defined in original project file.
ProjectStartDate0Project start date
CurrentDate1Current 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