ShellBrowser Delphi Components Documentation
ContentsIndexHome
PreviousUpNext
JamItemIdList.TJamItemIdList.CreateNewFolder

Creates a new folder inside the current ItemIdList.

Syntax
Pascal
function CreateNewFolder(pNewFolderName: string = ''): IItemIdList;
Parameters 
Description 
pNewFolderName: string = '' 
The name of the new folder; if empty the default name will be taken. If the folder already exists this function adds (1), (2)... to the foldername to find a unique name. 

The ItemIdList of the newly created folder if there was no error.

Exceptions 
Description 
Raised, if the current ItemIdList is not a folder or creation of a subfolder failed.