Creates a new folder.
Namespace: DotNetNuke.Services.AssetsAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
IFolderInfo CreateFolder( string folderName, int folderParentId, int folderMappingId, string mappedPath ) |
Visual Basic |
---|
Function CreateFolder ( folderName As String, folderParentId As Integer, folderMappingId As Integer, mappedPath As String ) As IFolderInfo |
Parameters
- folderName
- Type: System..::..String
folderName is the name of the new folder
- folderParentId
- Type: System..::..Int32
The reference to the parent folder where the new folder will be create
- folderMappingId
- Type: System..::..Int32
folderMappingID is the mapping related with the new folder
- mappedPath
- Type: System..::..String
mappedPath used for the mapping to folder in remove provider