CollectionBase<T>.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
An integer that represents the number of items in the collection.

Implements

ICollection.Count

Remarks

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

See also

Reference

CollectionBase<T> class

CollectionBase<T> members

Microsoft.SharePoint.Publishing namespace

CollectionBase<T>

SyncRoot

Item

IsSynchronized