SPFolder.Files property

Gets the collection of all files contained in the folder.

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

Syntax

'Declaration
Public ReadOnly Property Files As SPFileCollection
    Get
'Usage
Dim instance As SPFolder
Dim value As SPFileCollection

value = instance.Files
public SPFileCollection Files { get; }

Property value

Type: Microsoft.SharePoint.SPFileCollection
An SPFileCollection object that represents the files.

See also

Reference

SPFolder class

SPFolder members

Microsoft.SharePoint namespace