共用方式為


SPWorkflowFilter Constructor (SPWorkflowState, SPWorkflowState, SPWorkflowAssignedToFilter)

Initializes a new instance of the SPWorkflowFilter class, based upon the filtered states and to whom the workflow is assigned.

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

Syntax

'Declaration
Public Sub New ( _
    inclusiveFilterStates As SPWorkflowState, _
    exclusiveFilterStates As SPWorkflowState, _
    filterAssignedTo As SPWorkflowAssignedToFilter _
)
'Usage
Dim inclusiveFilterStates As SPWorkflowState
Dim exclusiveFilterStates As SPWorkflowState
Dim filterAssignedTo As SPWorkflowAssignedToFilter

Dim instance As New SPWorkflowFilter(inclusiveFilterStates, _
    exclusiveFilterStates, filterAssignedTo)
public SPWorkflowFilter(
    SPWorkflowState inclusiveFilterStates,
    SPWorkflowState exclusiveFilterStates,
    SPWorkflowAssignedToFilter filterAssignedTo
)

Parameters

Remarks

This constructor sets the value of the InclusiveFilterStates property to the value of the inclusiveFilterStates parameter, the value of the ExclusiveFilterStates property to the value of the exclusiveFilterStates parameter, and the value of the AssignedTo property to the value of the filterAssignedTo parameter.

See Also

Reference

SPWorkflowFilter Class

SPWorkflowFilter Members

SPWorkflowFilter Overload

Microsoft.SharePoint.Workflow Namespace