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# |
---|
public virtual IFolderInfo AddFolder(
int portalId,
string folderPath
) |
Visual Basic |
---|
Public Overridable Function AddFolder (
portalId As Integer,
folderPath As String
) As IFolderInfo |
Return Value
The added folder.
Implements
IFolderManager..::..AddFolder(Int32, String)
Exceptions
See Also