Export (0) Print
Expand All
Expand Minimize

SPWeb.Files Property

Windows SharePoint Services 3

Gets the collection of all files in the root directory of the Web site.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public SPFileCollection Files { get; }

Property Value

Type: 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.

Community Additions

ADD
Show:
© 2014 Microsoft