General Resource Assignment Properties

Working with General Assignment Properties

The ResourceAssignment class exposes a number of properties used to set and get general assignment properties:

  • Uid sets and gets an assignment’s unique ID (integer).
  • Start sets and gets an assignment’s start date (DateTime).
  • Finish sets and gets an assignment’s end date (DateTime).

To see an assignment’s general properties in Microsoft Project:

  1. From the View menu, select Task Usage.
  2. From the Insert menu, select Column.
  3. Add the Start. Finish and Unique ID columns.

Setting General Resource Assignment Properties using Aspose.Tasks

The following code example demonstrates how to set these properties from scratch.

Getting General Resource Assignment Properties using Aspose.Tasks

The resource assignment properties can be accessed by traversing the project’s ResourceAssignments property.