Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the collection of all first-level folders in the website.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
'Declaration
Public ReadOnly Property Folders As SPFolderCollection
Get
'Usage
Dim instance As SPWeb
Dim value As SPFolderCollection
value = instance.Folders
public SPFolderCollection Folders { get; }
Type: Microsoft.SharePoint.SPFolderCollection
A collection of SPFolder objects that represents the subfolders of the website’s root folder.
The user must have SPBasePermissions.BrowseDirectories permission in order to access the Folders property.