Share via


SPWorkflowTemplateCollection.Item Property (Guid)

Gets the specified workflow template.

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 ( _
    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 SharePoint Foundation

Workflow Development for SharePoint Foundation

Workflow Object Model Overview in SharePoint Foundation