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.ShellAssembly: ShellBrowser (in ShellBrowser.dll) Version: 7.2
Syntaxpublic bool CreateDir(
string p_FolderName,
bool p_EditMode
)
Public Function CreateDir (
p_FolderName As String,
p_EditMode As Boolean
) As Boolean
public:
bool CreateDir(
String^ p_FolderName,
bool p_EditMode
)
member CreateDir :
p_FolderName : string *
p_EditMode : bool -> bool 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
BooleanTrue if the folder could be created, false if it fails.
See Also