Share via


SPWorkflowTemplateCollection.Item Property (Int32)

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 ( _
    index As Integer _
) As SPWorkflowTemplate
    Get
'Usage
Dim instance As SPWorkflowTemplateCollection
Dim index As Integer
Dim value As SPWorkflowTemplate

value = instance(index)
public SPWorkflowTemplate this[
    int index
] { get; }

Parameters

  • index
    Type: System.Int32

    The index of the workflow template in the collection.

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