다음을 통해 공유


SPWorkflowCollection.Item Property (Int32)

Gets the specified workflow instance.

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 SPWorkflow
    Get
'Usage
Dim instance As SPWorkflowCollection
Dim index As Integer
Dim value As SPWorkflow

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

Parameters

  • index
    Type: System.Int32

    The index of the workflow instance in the collection.

Property Value

Type: Microsoft.SharePoint.Workflow.SPWorkflow
An SPWorkflow object that represents the workflow instance.

See Also

Reference

SPWorkflowCollection Class

SPWorkflowCollection 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