Table of contents
TOC
折叠目录
展开目录

Application.GanttBarStyleCritical 方法 (项目)Application.GanttBarStyleCritical Method (Project)

office 365 dev account|上次更新日期: 2018/3/13
|
2 参与人员

显示或隐藏活动甘特图上的关键任务样式。Shows or hides the critical tasks style on the active Gantt chart.

语法Syntax

表达式GanttBarStyleCritical(* 显示)expression. **GanttBarStyleCritical( ** Show* )

表达式_返回应用程序对象的表达式。_expression An expression that returns an Application object.

参数Parameters

名称Name必需/可选Required/Optional数据类型Data Type说明Description
ShowShow可选OptionalBooleanBoolean如果False,隐藏关键样式。如果True,显示关键任务样式。If False, hides the critical path style. If True, shows the critical task style.

返回值Return Value

BooleanBoolean

注解Remarks

在功能区中, GanttBarStyleCritical方法对应于格式选项卡上的条形图样式组中的关键任务复选框的甘特条形图工具On the Ribbon, the GanttBarStyleCritical method corresponds to the Critical Tasks check box in the Bar Styles group on the Format tab for Gantt Chart Tools.

© 2018 Microsoft