Gets the list of subfolders for the specified folder.
Namespace: DotNetNuke.Services.FileSystemAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
public virtual IEnumerable<IFolderInfo> GetFolders( IFolderInfo parentFolder ) |
Visual Basic |
---|
Public Overridable Function GetFolders ( parentFolder As IFolderInfo ) As IEnumerable(Of IFolderInfo) |
Parameters
- parentFolder
- Type: DotNetNuke.Services.FileSystem..::..IFolderInfo
The folder to get the list of subfolders.
Return Value
The list of subfolders for the specified folder.Implements
IFolderManager..::..GetFolders(IFolderInfo)
Exceptions
Exception | Condition |
---|---|
System..::..ArgumentNullException | Thrown when parentFolder is null. |