Assignments Collection Object
Project Developer Reference |
Contains a collection of Assignment objects for a task or resource.
Example
Using the Assignment Object
Use Assignments(Index), where Index is the assignment index number, to return a single Assignment object. The following example displays the name of the first resource assigned to the specified task.
Visual Basic for Applications |
---|
|
Using the Assignments Collection
Use the Assignments property to return an Assignments collection. The following example displays all the resources assigned to the specified task.
Visual Basic for Applications |
---|
|
Use the Add method to add an Assignment object to the Assignments collection. The following example adds a resource identified by the number 212 as a new assignment for the specified task.
Visual Basic for Applications |
---|
|
See Also