Update Outline Code Definitions and Values

Aspose.Tasks for .NET provides the facility to add new outline code attributes to an existing Microsoft Project MPP file and save it back.

Updating Outline Code Definitions and Values

The following code sample defines new outline codes and sets their various fields. The outline codes and values are then added to the project outline codes and the updated data is saved back to MPP file. The steps involved in this activity are:

  1. Create an instance of Project Reader.
  2. Read the source MPP file.
  3. Define new OutlineValue objects and set the parameters.
  4. Add the outline codes to the project’s codes.
  5. Save the updated project data back to the MPP file.