Read Task Timephased Data
Contents
[
Hide
]
In Microsoft Project, time-phased data is displayed on the right side of the Task Usage and Resource Usage views. Users can write this data manually and with Aspose.Tasks for .NET, you can write it programmatically, or get it from a project into your application.
Working with Timephased Data
Aspose.Tasks for .NET 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.