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