SPWeb.Folders 属性
Gets the collection of all first-level folders in the website.
命名空间: Microsoft.SharePoint
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public ReadOnly Property Folders As SPFolderCollection
Get
用法
Dim instance As SPWeb
Dim value As SPFolderCollection
value = instance.Folders
public SPFolderCollection Folders { get; }
属性值
类型: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.