Method New
New(IFileSystem, IDirectoryInfo)
Specifies how to handle 'new directory' operation in FileDialog.
public IFileSystemInfo New(IFileSystem fileSystem, IDirectoryInfo inDirectory)
Parameters
fileSystem
IFileSysteminDirectory
IDirectoryInfoThe parent directory in which the new directory should be created
Returns
- IFileSystemInfo
The newly created directory or null if cancelled.
Remarks
Ensure you use a try/catch block with appropriate error handling (e.g. showing a MessageBox