IssueTracking.WorkflowTaskItem Method
Gets the workflow task item using the specified task GUID.
Namespace: Microsoft.SharePoint.Workflow.Application
Assembly: Microsoft.SharePoint.Workflows (in Microsoft.SharePoint.Workflows.dll)
Syntax
'Declaration
Public Function WorkflowTaskItem ( _
taskId As Guid _
) As SPListItem
'Usage
Dim instance As IssueTracking
Dim taskId As Guid
Dim returnValue As SPListItem
returnValue = instance.WorkflowTaskItem(taskId)
public SPListItem WorkflowTaskItem(
Guid taskId
)
Parameters
taskId
Type: System.GuidThe GUID of the workflow task.
Return Value
Type: Microsoft.SharePoint.SPListItem
The workflow task item.
Remarks
This method gets the workflow task item from the list on which workflow tasks for this workflow instance are created. It returns null if the task item cannot be found.