Gets the list of subfolders for the specified folder.
Namespace: DotNetNuke.Services.AssetsAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
IEnumerable<IFolderInfo> GetFolders( IFolderInfo parentFolder, string orderingField, bool asc ) |
Visual Basic |
---|
Function GetFolders ( parentFolder As IFolderInfo, orderingField As String, asc As Boolean ) As IEnumerable(Of IFolderInfo) |
Parameters
- parentFolder
- Type: DotNetNuke.Services.FileSystem..::..IFolderInfo
The folder from where to get the list of subfolders.
- orderingField
- Type: System..::..String
The field to order the list
- asc
- Type: System..::..Boolean
True to order ascending, false to order descending