共用方式為


ISharePointService.OnWorkflowItemChanged Event

Raised when the item on which the workflow instance is running is changed.

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

Syntax

'Declaration
<CorrelationAliasAttribute("workflowId", "e.workflowId")> _
Event OnWorkflowItemChanged As EventHandler(Of SPItemEventArgs)
'Usage
Dim instance As ISharePointService
Dim handler As EventHandler(Of SPItemEventArgs)

AddHandler instance.OnWorkflowItemChanged, handler
[CorrelationAliasAttribute("workflowId", "e.workflowId")]
event EventHandler<SPItemEventArgs> OnWorkflowItemChanged

Remarks

You can add an OnWorkflowItemChanged workflow activity to your workflow to handle this event.

When the ISharePointService raises this event, the event parameters are contained in the SPItemEventArgs class.

See Also

Reference

ISharePointService Interface

ISharePointService Members

Microsoft.SharePoint.Workflow Namespace