SPFolder.SubFolders property

Gets the collection of subfolders contained within the folder.

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

Syntax

'Declaration
Public ReadOnly Property SubFolders As SPFolderCollection
    Get
'Usage
Dim instance As SPFolder
Dim value As SPFolderCollection

value = instance.SubFolders
public SPFolderCollection SubFolders { get; }

Property value

Type: Microsoft.SharePoint.SPFolderCollection
An SPFolderCollection object that represents the subfolders.

See also

Reference

SPFolder class

SPFolder members

Microsoft.SharePoint namespace