Retrieving Task's Budget Work and Cost Values
Contents
[
Hide
]
Microsoft Project 2007 and 2010 provide budget cost and budget work as task fields. Aspose.Tasks for .NET provides these properties as BudgetWork and BudgetCost.
Reading budget work and cost value
Before Aspose.Tasks for .NET 5.0.0, budget work and cost could be calculated by accessing an activity’s resource assignments and summing up the budget cost and work values. From Aspose.Task for .NET 5.0.0, it can be obtained directly as described in the following code.
The following lines of code retrieve a task’s budget work and cost information.