共用方式為


SPWorkflowExternalDataExchangeService.CurrentWorkflow Property

Gets the workflow instance that is running on the current thread.

Namespace:  Microsoft.SharePoint.Workflow
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public ReadOnly Property CurrentWorkflow As SPWorkflow
    Get
'Usage
Dim instance As SPWorkflowExternalDataExchangeService
Dim value As SPWorkflow

value = instance.CurrentWorkflow
public SPWorkflow CurrentWorkflow { get; }

Property Value

Type: Microsoft.SharePoint.Workflow.SPWorkflow
An object that represents a workflow instance.

See Also

Reference

SPWorkflowExternalDataExchangeService Class

SPWorkflowExternalDataExchangeService Members

Microsoft.SharePoint.Workflow Namespace