Share via


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)
Available in Sandboxed Solutions: No

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