Working with Extended Task Attributes

In Microsoft Project, an extended task attribute is an element used to capture data for a custom task field. Aspose.Tasks can create as well as retrieve extended attribute information for all versions of Microsoft Project: 2003, 2007, 2010, and 2013.

Adding Extended Attribute Information for a Task

Creating an Extended attribute requires the following steps:

  1. Create [ExtendedAttributeDefinition[( for the Attribute with necessary parameters
  2. Create ExtendedAttribute from the definition in the previous step
  3. Add the created ExtendedAttribute to the task

Reading Extended Task Attributes Information

The ExtendedAttribute property exposed by the Task class is used to manage a task’s extended attributes. This property reads and writes an ArrayList of ExtendedAttribute objects to deal with a task’s extended attributes. The ExtendedAttribute object further exposes the relevant properties.

The following example shows how to view a task’s extended attributes with Aspose.Tasks.