SPWorkflowCollection.Count property

Gets the total number of workflow instances in the collection.

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

Syntax

'Declaration
Public Overrides ReadOnly Property Count As Integer
    Get
'Usage
Dim instance As SPWorkflowCollection
Dim value As Integer

value = instance.Count
public override int Count { get; }

Property value

Type: System.Int32
An Integer that represents the total number of workflow instances.

Implements

ICollection.Count

See also

Reference

SPWorkflowCollection class

SPWorkflowCollection members

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