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