Creates a new folder using the provided folder path and mapping.

Namespace: DotNetNuke.Services.FileSystem
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
IFolderInfo AddFolder(
	FolderMappingInfo folderMapping,
	string folderPath,
	string mappedPath
)
Visual Basic
Function AddFolder ( 
	folderMapping As FolderMappingInfo,
	folderPath As String,
	mappedPath As String
) As IFolderInfo

Parameters

folderMapping
Type: DotNetNuke.Services.FileSystem..::..FolderMappingInfo
The folder mapping to use.
folderPath
Type: System..::..String
The path of the new folder.
mappedPath
Type: System..::..String
The path of the new folder in the provider.

Return Value

The added folder.

See Also