共用方式為


Groups2 Collection Object (Project)

Represents a collection of Group2 objects, which can maintain group hierarchy.

Version Information

Version Added: Project 2010

Remarks

Use TaskGroups2(Index) or ResourceGroups2(Index), where Index is the group definition index or group definition name, to return a Group2 object.

Example

The following example ensures that the Standard Rate resource group displays summary task information.

ActiveProject.ResourceGroups2("Standard Rate").ShowSummary = True 

See Also

Concepts

Groups2 Object Members

Project Object Model