SPWorkflowCollection.Item property (Guid)
Gets the specified workflow instance.
Namespace: Microsoft.SharePoint.Workflow
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
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 Windows SharePoint Services
Workflow Development for Windows SharePoint Services
Workflow Object Model in Windows SharePoint Services Overview