SPWorkflowAssociationCollection.Item property (Guid)

Gets the workflow association with the specified GUID.

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

Syntax

'Declaration
Public Overridable ReadOnly Default Property Item ( _
    associationId As Guid _
) As SPWorkflowAssociation
    Get
'Usage
Dim instance As SPWorkflowAssociationCollection
Dim associationId As Guid
Dim value As SPWorkflowAssociation

value = instance(associationId)
public virtual SPWorkflowAssociation this[
    Guid associationId
] { get; }

Parameters

  • associationId
    Type: System.Guid

    The ID of the workflow association.

Property value

Type: Microsoft.SharePoint.Workflow.SPWorkflowAssociation
A SPWorkflowAssociation that represents the specified workflow association.

See also

Reference

SPWorkflowAssociationCollection class

SPWorkflowAssociationCollection members

Item overload

Microsoft.SharePoint.Workflow namespace