Share via


SPWorkflowTemplateCollection.Item property (Guid)

Gets the specified workflow template.

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

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    templateId As Guid _
) As SPWorkflowTemplate
    Get
'Usage
Dim instance As SPWorkflowTemplateCollection
Dim templateId As Guid
Dim value As SPWorkflowTemplate

value = instance(templateId)
public SPWorkflowTemplate this[
    Guid templateId
] { get; }

Parameters

  • templateId
    Type: System.Guid

    The ID of the workflow template.

Property value

Type: Microsoft.SharePoint.Workflow.SPWorkflowTemplate
An SPWorkflowTemplate object that represents the workflow template.

See also

Reference

SPWorkflowTemplateCollection class

SPWorkflowTemplateCollection 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