Share via


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)

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