Share via


SPWorkflowTaskCollection.Item Property (Int32)

Gets the specified workflow task.

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

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