Working with Extended Task Attributes

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

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.