Share via


SPWorkflowTaskCollection.Item property (Int32)

Gets the specified workflow task.

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

Syntax

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

value = instance(index)
public SPWorkflowTask this[
    int index
] { get; }

Parameters

  • index
    Type: System.Int32

    The index of the workflow task in the collection.

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