SPFolder.SubFolders Property
SharePoint 2010
Gets the collection of subfolders contained within the folder.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
[ClientCallableAttribute(Name = "Folders")] [ClientCallableConstraintAttribute(Type = ClientCallableConstraintType.NotNull)] public SPFolderCollection SubFolders { get; }
Property Value
Type: Microsoft.SharePoint.SPFolderCollectionAn SPFolderCollection object that represents the subfolders.