SPWorkflowCollection.Item Property (Int32)
Gets the specified workflow instance.
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 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.Int32The 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
Microsoft.SharePoint.Workflow Namespace
Other Resources
Workflows in SharePoint Foundation