共用方式為


SPListItem.Workflows property

會取得代表目前正在執行,但無法取得工作流程關聯的項目工作流程執行個體的工作流程物件的集合。

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
Public ReadOnly Property Workflows As SPWorkflowCollection
    Get
'用途
Dim instance As SPListItem
Dim value As SPWorkflowCollection

value = instance.Workflows
public SPWorkflowCollection Workflows { get; }

Property value

Type: Microsoft.SharePoint.Workflow.SPWorkflowCollection
SPWorkflowCollection 物件,代表目前正在執行的項目工作流程執行個體。

請參閱

參照

SPListItem class

SPListItem members

Microsoft.SharePoint namespace