Share via


SPFolderCollection.Count property

Gets the number of folders in the collection.

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

Syntax

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

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

Property value

Type: System.Int32
A 32-bit integer that represents the number of folders.

Implements

ICollection.Count

See also

Reference

SPFolderCollection class

SPFolderCollection members

Microsoft.SharePoint namespace