代表分组定义可在其中维护组层次结构。 组 2 对象是 Groups2 、 ResourceGroups2 或 TaskGroups2 集合的一个成员。
备注
组 2 对象包括 MaintainHierarchy 属性。
使用 Group 对象
使用 TaskGroups2(Index) 或 ResourceGroups2(Index),其中 Index 是组定义索引或组定义名称,以返回 Group2 对象。
示例
下面的示例可以确保“标准费率”资源组显示摘要任务信息。
ActiveProject.ResourceGroups2("Standard Rate").ShowSummary = True
方法
| 名称 | 
|---|
| Delete | 
属性
| 名称 | 
|---|
| Application | 
| GroupAssignments | 
| GroupCriteria | 
| 索引 | 
| MaintainHierarchy | 
| 名称 | 
| Parent | 
| ShowSummary | 
另请参阅
支持和反馈
有关于 Office VBA 或本文档的疑问或反馈? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。