다음을 통해 공유


SPPersistedObjectCollection<T>.Count property

Gets the number of objects in the collection.

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

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