Gets the files contained in the specified folder.
Namespace: DotNetNuke.Services.FileSystemAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
public virtual IEnumerable<IFileInfo> GetFiles( IFolderInfo folder, bool recursive ) |
Visual Basic |
---|
Public Overridable Function GetFiles ( folder As IFolderInfo, recursive As Boolean ) As IEnumerable(Of IFileInfo) |
Parameters
- folder
- Type: DotNetNuke.Services.FileSystem..::..IFolderInfo
The folder from which to retrieve the files.
- recursive
- Type: System..::..Boolean
Whether or not to include all the subfolders