SPWeb.Files 属性
Gets the collection of all files in the root directory of the website.
命名空间: Microsoft.SharePoint
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public ReadOnly Property Files As SPFileCollection
Get
用法
Dim instance As SPWeb
Dim value As SPFileCollection
value = instance.Files
public SPFileCollection Files { get; }
属性值
类型:Microsoft.SharePoint.SPFileCollection
An SPFileCollection object that represents the files.
备注
The user must have the Browse Directories right to run code that uses the Files property.