Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

SPWeb.Files property

Gets the collection of all files in the root directory of the website.

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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.