Share via


SPWorkflowTaskCollection.Item property (Guid)

Gets the specified workflow task.

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

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    uniqueId As Guid _
) As SPWorkflowTask
    Get
'Usage
Dim instance As SPWorkflowTaskCollection
Dim uniqueId As Guid
Dim value As SPWorkflowTask

value = instance(uniqueId)
public SPWorkflowTask this[
    Guid uniqueId
] { get; }

Parameters

  • uniqueId
    Type: System.Guid

    The ID of the workflow task.

Property value

Type: Microsoft.SharePoint.Workflow.SPWorkflowTask
An SPWorkflowTask object that represents the workflow task.

See also

Reference

SPWorkflowTaskCollection class

SPWorkflowTaskCollection members

Item overload

Microsoft.SharePoint.Workflow namespace