SPWorkItemCollection.Count property

Gets a count of the number of SPWorkItem objects in the collection.

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

Syntax

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

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

Property value

Type: System.Int32
Returns an integer specifying the number of work items in the collection.

Implements

ICollection.Count

Remarks

Override of the base collection, Microsoft.SharePoint.SPBaseCollection.

See also

Reference

SPWorkItemCollection class

SPWorkItemCollection members

Microsoft.SharePoint namespace

Microsoft.SharePoint.SPBaseCollection