共用方式為


SPWorkflowFilter Constructor (SPWorkflowState, SPWorkflowState)

Initializes a new instance of the SPWorkflowFilter class, based upon the filtered states.

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 _
)
'Usage
Dim inclusiveFilterStates As SPWorkflowState
Dim exclusiveFilterStates As SPWorkflowState

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

Parameters

Remarks

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

See Also

Reference

SPWorkflowFilter Class

SPWorkflowFilter Members

SPWorkflowFilter Overload

Microsoft.SharePoint.Workflow Namespace