Share via


SPWorkflowTemplateCollection.Item property (Int32)

Gets the specified workflow template.

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

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 Windows SharePoint Services

Workflow Development for Windows SharePoint Services

Workflow Object Model in Windows SharePoint Services Overview