Click or drag to resize

ShellTreeViewCreateDir(String, Boolean) Method

This method creates a new directory with the name of the string argument p_FolderName in the currently SelectedPath. If EditMode is True, the new folder will be switched to the edit mode after creation so that the user can change its name.

Namespace: Jam.Shell
Assembly: ShellBrowser (in ShellBrowser.dll) Version: 7.2
Syntax
public bool CreateDir(
	string p_FolderName,
	bool p_EditMode
)

Parameters

p_FolderName  String
The name of the new folder. Do pass a single name only, not a full path. If an empty string is passed as foldername, a standard folder name will be used.
p_EditMode  Boolean
Pass true, if the user should be able to edit the name of the new folder after its creation. Pass false if the new folder should not be in edit mode.

Return Value

Boolean
True if the folder could be created, false if it fails.
See Also