title | keywords | f1_keywords | ms.service | api_name | ms.assetid | ms.date | ms.localizationpriority | ||
---|---|---|---|---|---|---|---|---|---|
Task object (Project) |
vbapj.chm131335 |
|
project-server |
|
bc6bb4a5-95a6-9d1f-3e28-92b9548a544a |
06/08/2017 |
medium |
Represents a task. The Task object is a member of the Tasks collection. Using the Task Object Use Tasks (index), where index is the task index number or task name, to return a single Task object. The following example prints the name of every resource assigned to every task in the active project. Using the Tasks Collection Use the Tasks property to return a Tasks collection. The following example displays the name of every task in the selection. Use the Add method to add a Task object to the Tasks collection. The following example adds a new task to the end of the task list.
[!includeSupport and feedback]