Task.TimephasedData

Task.TimephasedData property

Gets or sets a TimephasedDataCollection object of this task. The time phased data block associated with a task.

public TimephasedDataCollection TimephasedData { get; set; }

Remarks

Reading supported for XML format only.

Examples

Shows how to iterate over task’s timephased data.

var project = new Project(DataDir + "BaselineTD2010_3.mpp");
var task = project.RootTask.Children.GetById(1);

foreach (var td in task.TimephasedData)
{
    Console.WriteLine("Start: " + td.Start);
    Console.WriteLine("Finish: " + td.Finish);
    Console.WriteLine("Type: " + td.TimephasedDataType);
}

See Also