Compartilhar 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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

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