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

WorkflowTask.Show 方法 (办公室)WorkflowTask.Show Method (Office)

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

显示指定的WorkflowTask对象的工作流任务编辑用户界面。Displays a workflow task edit user interface for the specified WorkflowTask object.

语法Syntax

表达式显示expression. Show

表达式_该表达式返回一个WorkflowTask对象。_expression An expression that returns a WorkflowTask object.

返回值Return Value

IntegerInteger

示例Example

下面的示例显示当前文档中的每个工作流任务的名称,然后显示特定任务的工作流任务编辑用户界面。The following example displays the name of each workflow task in the current document and then displays the workflow task edit user interface for a specific task.

Sub DisplayWorkTask() 
Dim objWorkflowTasks As WorkflowTasks 
Dim objWorkflowTask As WorkflowTask 
Dim cnt As Integer 

Set objWorkflowTasks = Document.GetWorkflowTasks() 

For cnt = 1 To objWorkflowTasks.Count 
 Debug.Print objWorkflowTask(cnt).Name 
Next 

Set objWorkflowTask = objWorkflowTasks(1) 
objWorkflowTask.Show 

End Sub 

另请参阅See also

概念Concepts

WorkflowTask 对象WorkflowTask Object

其他资源Other resources

WorkflowTask 对象成员WorkflowTask Object Members

© 2018 Microsoft