Compartilhar via


SPWorkflowManager.GetItemTasks method (SPListItem, SPWorkflowFilter)

Retorna uma coleção filtrada de tarefas de fluxo de trabalho do item de lista especificado.

Namespace:  Microsoft.SharePoint.Workflow
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaração
Public Function GetItemTasks ( _
    item As SPListItem, _
    filter As SPWorkflowFilter _
) As SPWorkflowTaskCollection
'Uso
Dim instance As SPWorkflowManager
Dim item As SPListItem
Dim filter As SPWorkflowFilter
Dim returnValue As SPWorkflowTaskCollection

returnValue = instance.GetItemTasks(item, _
    filter)
public SPWorkflowTaskCollection GetItemTasks(
    SPListItem item,
    SPWorkflowFilter filter
)

Parâmetros

Valor retornado

Type: Microsoft.SharePoint.Workflow.SPWorkflowTaskCollection
Um objeto SPWorkflowTaskCollection que representa as tarefas de fluxo de trabalho para o item.

Comentários

Esse método obtém as tarefas de fluxo de trabalho para o item de lista especificado pelo parâmetro item que satisfazem o critério especificado pelo parâmetro filter .

Ver também

Referência

SPWorkflowManager class

SPWorkflowManager members

GetItemTasks overload

Microsoft.SharePoint.Workflow namespace

Outros recursos

Workflows in Windows SharePoint Services

Workflow Development for Windows SharePoint Services

Workflow Object Model in Windows SharePoint Services Overview