共用方式為


SPWorkflowModificationCollection Class

Represents the collection of workflow modifications that are currently in scope for the workflow instance.

Inheritance Hierarchy

System.Object
  Microsoft.SharePoint.Administration.SPAutoSerializingObject
    Microsoft.SharePoint.SPBaseCollection
      Microsoft.SharePoint.Workflow.SPWorkflowModificationCollection

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

Syntax

'Declaration
<SubsetCallableTypeAttribute> _
Public NotInheritable Class SPWorkflowModificationCollection _
    Inherits SPBaseCollection
'Usage
Dim instance As SPWorkflowModificationCollection
[SubsetCallableTypeAttribute]
public sealed class SPWorkflowModificationCollection : SPBaseCollection

Remarks

As you design your workflow, you create a modification by adding an EnableWorkflowModification activity to the workflow. The availability of the modification is determined by the EventHandlingScope activity to which you add the EnableWorkflowModification activity. Defining a modification adds a link on the workflow status page for that particular modification. When the containing EventHandlingScope activity comes into scope as the workflow runs, Microsoft Windows SharePoint Services makes the modification link available to the user. When the containing activity passes out of scope, Windows SharePoint Services removes the modification link from the workflow status page.

For more information on workflow modifications and modification forms, see Workflow Modification Forms (SharePoint Foundation).

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

SPWorkflowModificationCollection Members

Microsoft.SharePoint.Workflow Namespace