Share via


CollectionBase.Count Property

Gets the number of items in the collection.

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

Syntax

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

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

Property Value

Type: System.Int32
Integer representing the number of items in the collection.

Remarks

If the collection uses data paging, this property returns the count of the current set of paged data.

See Also

Reference

CollectionBase Class

CollectionBase Members

Microsoft.SharePoint.Publishing Namespace

CollectionBase

GetEnumerator