Share via


SPPersistedObjectCollection<T>.Count Property

Gets the number of objects in the collection.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

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

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

Property Value

Type: System.Int32
A 32-bit integer that indicates the number of objects in the collection.

See Also

Reference

SPPersistedObjectCollection<T> Class

SPPersistedObjectCollection<T> Members

Microsoft.SharePoint.Administration Namespace