Gets the page of files and folders contained in the specified folder.
Namespace: DotNetNuke.Services.AssetsAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
ContentPage GetFolderContent( int folderId, int startIndex, int numItems, string sortExpression = null, SubfolderFilter subfolderFilter = SubfolderFilter.IncludeSubfoldersFolderStructure ) |
Visual Basic |
---|
Function GetFolderContent ( folderId As Integer, startIndex As Integer, numItems As Integer, Optional sortExpression As String = Nothing, Optional subfolderFilter As SubfolderFilter = SubfolderFilter.IncludeSubfoldersFolderStructure ) As ContentPage |
Parameters
- folderId
- Type: System..::..Int32
Folder Identifier
- startIndex
- Type: System..::..Int32
Start index to retrieve items
- numItems
- Type: System..::..Int32
Max Number of items
- sortExpression
- Type: System..::..String
The sort expression in a SQL format, e.g. FileName ASC
- subfolderFilter
- Type: DotNetNuke.Services.Assets..::..SubfolderFilter
paramsubfolderFilterM:DotNetNuke.Services.Assets.IAssetManager.GetFolderContent(System.Int32,System.Int32,System.Int32,System.String,DotNetNuke.Services.Assets.SubfolderFilter)