SPWorkflowCollection.Item Property (Guid)
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 ( _
instanceId As Guid _
) As SPWorkflow
Get
'Usage
Dim instance As SPWorkflowCollection
Dim instanceId As Guid
Dim value As SPWorkflow
value = instance(instanceId)
public SPWorkflow this[
Guid instanceId
] { get; }
Parameters
instanceId
Type: System.GuidThe ID of the workflow instance.
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