Creates a new folder in the given portal using the provided folder path.
The same mapping than the parent folder will be used to create this folder. So this method have to be used only to create subfolders.
Namespace: DotNetNuke.Services.FileSystemAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
IFolderInfo AddFolder( int portalId, string folderPath ) |
Visual Basic |
---|
Function AddFolder ( portalId As Integer, folderPath As String ) As IFolderInfo |
Parameters
- portalId
- Type: System..::..Int32
The portal identifier.
- folderPath
- Type: System..::..String
The path of the new folder.