Availabilities Collection Object
Project Developer Reference |
Contains a collection of Availability objects.
Example
Using the Availability Object
Use Availabilities(Index), where Index is the availability index number, to return a single Availability object. The following example returns the availability information from the first line of the Resource Availability grid for the specified resource.
Visual Basic for Applications |
---|
|
Using the Availabilities Collection
Use the Availabilities property to return an Availabilities collection. The following example displays the range of dates during which the specified resource is available for work.
Visual Basic for Applications |
---|
|
Use the Add method to add an Availability object to the Availabilities collection. The following example adds a line to the Resource Availability grid showing that the specified resource is available only half-time during the month of April.
Visual Basic for Applications |
---|
|
See Also