SPWeb.Folders property
SharePoint 2013
Gets the collection of all first-level folders in the website.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
[ClientCallableConstraintAttribute(Type = ClientCallableConstraintType.NotNull)] [ClientCallableAttribute] public SPFolderCollection Folders { get; }
Property value
Type: Microsoft.SharePoint.SPFolderCollectionA collection of SPFolder objects that represents the subfolders of the website’s root folder.