SPWorkflowCollection.Item property (Int32)

Gets the specified workflow instance.

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

Syntax

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

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

Parameters

  • index
    Type: System.Int32

    The index of the workflow instance in the collection.

Property value

Type: Microsoft.SharePoint.Workflow.SPWorkflow
An SPWorkflow object that represents the workflow instance.

See also

Reference

SPWorkflowCollection class

SPWorkflowCollection members

Item overload

Microsoft.SharePoint.Workflow namespace

Other resources

Workflows in Windows SharePoint Services

Workflow Development for Windows SharePoint Services

Workflow Object Model in Windows SharePoint Services Overview