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

ReportTable.UpdateTableData 方法 (项目)ReportTable.UpdateTableData Method (Project)

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

更新的行和列的报表中显示的指定的任务或资源域;使用指定的筛选器、 组以及大纲级别。Updates rows and columns in the report table to show the specified task or resource fields; uses the specified filter, group, and outline level.

语法Syntax

表达式UpdateTableData(任务,GroupName,FilterName,OutlineLevel,SafeArrayOfPjField)expression. UpdateTableData(Task,GroupName,FilterName,OutlineLevel,SafeArrayOfPjField)

表达式_一个表示ReportTable对象的变量。_expression A variable that represents a ReportTable object.

参数Parameters

名称Name必需/可选Required/Optional数据类型Data type说明Description
任务Task必需RequiredBooleanBoolean要更新任务的数据,在字段列表任务窗格中;以更新资源的数据。True to update task data in the Field List task pane; False to update resource data.
组名GroupName可选OptionalStringString分组依据下拉列表中的组的名称。Name of the group in the Group By drop-down list.
FilterNameFilterName可选OptionalStringString过滤器下拉列表中的筛选器的名称。Name of the filter in the Filter drop-down list.
OutlineLevelOutlineLevel可选OptionalLongLong任务的大纲级别。默认值为-1,这相当于全部显示。不使用资源域 (当_任务_为False)。The task outline level. The default value is -1, which the equivalent of Show All. Not used for resource fields (when Task is False).
SafeArrayOfPjFieldSafeArrayOfPjField可选OptionalVariantVariant指定字段的更新,其中每个数组中的项可以是PjField常量数组。Specifies an array of fields for the update, where each item in the array can be a PjField constant.
任务Task必需Required布尔值BOOL
组名GroupName可选OptionalSTRINGSTRING
FilterNameFilterName可选OptionalSTRINGSTRING
OutlineLevelOutlineLevel可选OptionalINTINT
SafeArrayOfPjFieldSafeArrayOfPjField可选Optional变量VARIANT

返回值Return value

执行任何操作Nothing

另请参阅See also

其他资源Other resources

ReportTable 对象ReportTable Object

© 2018 Microsoft