ResourceGroups Collection Object
|Project Developer Reference|
Represents all the resource-based group definitions. The Resource object is a member of the Resources collection.
Using the ResourceGroups Collection
Use the ResourceGroups property to return a ResourceGroups collection. The following example lists the names of all the resource groups in the active project.
Use the Add method to add a Group object to the ResourceGroups collection. The following example creates a new group that groups resources by their standard rate and then modifies the criterion so that the resources are sorted in descending order.