Adds a Folder with a specificed unique identifier

Namespace: DotNetNuke.Common.Utilities
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
[EditorBrowsableAttribute(EditorBrowsableState.Never)]
[ObsoleteAttribute("Deprecated in DNN 6.0.  It has been replaced by FolderManager.Instance.AddFolder(FolderMappingInfo folderMapping, string folderPath) ")]
public static void AddFolder(
	PortalSettings portalSettings,
	string parentFolder,
	string newFolder,
	int storageLocation
)
Visual Basic
<EditorBrowsableAttribute(EditorBrowsableState.Never)> 
<ObsoleteAttribute("Deprecated in DNN 6.0.  It has been replaced by FolderManager.Instance.AddFolder(FolderMappingInfo folderMapping, string folderPath) ")> 
Public Shared Sub AddFolder ( 
	portalSettings As PortalSettings,
	parentFolder As String,
	newFolder As String,
	storageLocation As Integer
)

Parameters

portalSettings
Type: DotNetNuke.Entities.Portals..::..PortalSettings
The Portal Settings
parentFolder
Type: System..::..String
The parent folder
newFolder
Type: System..::..String
The new folder name
storageLocation
Type: System..::..Int32
The storage location

See Also