Partilhar via


SPWorkflowTaskCollection.Count Property

Gets the total number of workflow tasks in the collection.

Namespace:  Microsoft.SharePoint.Workflow
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

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

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

Property Value

Type: System.Int32
An Integer that represents the number of tasks.

Implements

ICollection.Count

See Also

Reference

SPWorkflowTaskCollection Class

SPWorkflowTaskCollection Members

Microsoft.SharePoint.Workflow Namespace