Share via


SPBaseCollection.Count property

Reserved for internal use. Gets the total number of elements in the collection.

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

Syntax

'Declaration
Public MustOverride ReadOnly Property Count As Integer
    Get
'Usage
Dim instance As SPBaseCollection
Dim value As Integer

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

Property value

Type: System.Int32
A 32-bit integer that indicates the number of elements.

Implements

ICollection.Count

See also

Reference

SPBaseCollection class

SPBaseCollection members

Microsoft.SharePoint namespace