Share via


SPWorkflow.TaskFilter Property

Gets or sets the filter criteria applied to the workflow task collection, such as to whom the workflow is assigned, and the workflow state.

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

Syntax

'Declaration
Public Property TaskFilter As SPWorkflowFilter
    Get
    Set
'Usage
Dim instance As SPWorkflow
Dim value As SPWorkflowFilter

value = instance.TaskFilter

instance.TaskFilter = value
public SPWorkflowFilter TaskFilter { get; set; }

Property Value

Type: Microsoft.SharePoint.Workflow.SPWorkflowFilter
An SPWorkflowFilter that represents the filter criteria.

See Also

Reference

SPWorkflow Class

SPWorkflow Members

Microsoft.SharePoint.Workflow Namespace

Other Resources

Workflows in SharePoint Foundation

Workflow Development for SharePoint Foundation

Workflow Object Model Overview in SharePoint Foundation