Reading and Writing General Resource Properties

The Resource class has a number of properties for getting and setting resource attributes:

Working with General Resource Properties

To view a resource’s general properties in Microsoft Project:

  1. From the View menu, select More Views and then Resource Sheet.
  2. From the Insert menu, select Column.
  3. Add the Start, Finish, ID and unique ID columns.

Setting General Resource Properties using Aspose.Tasks

The following example shows how to set general resource properties.

1// Add resources
2Resource resource = project.Resources.Add("Rsc");
4// Set resource properties, Resource properties are represented by static class Rsc
5resource.Set(Rsc.StandardRate, 15);
6resource.Set(Rsc.OvertimeRate, 20);
Subscribe to Aspose Product Updates

Get monthly newsletters & offers directly delivered to your mailbox.