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:
- Create [ExtendedAttributeDefinition[(https://apireference.aspose.com/tasks/net/aspose.tasks/extendedattributedefinition) for the Attribute with necessary parameters
- Create ExtendedAttribute from the definition in the previous step
- 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.