Read Task Timephased Data

Working with Timephased Data

Aspose.Tasks for C++ API supports reading a task’s time-phased data from Microsoft Project (MPP) files. The time-phased data is retrieved using the Task object’s GetTimephasedData method.

  • To retrieve the task work’s time-phased data, the GetTimephasedData method takes the project’s start and finish dates as input parameters.
  • To retrieve the task cost’s time-phased data, it takes an additional input parameter that specifies the type of time phase data as TaskCost.

The following piece of code shows how to read a task’s timephased data.