FileOperationQueueCopy(DirectoryInfo, String) Method

Queues a copy operation of a source directory into its own directory.

Definition

Namespace: DevCase.Core.IO.FileSystem
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public void QueueCopy(
	DirectoryInfo srcDir,
	string newDirName = ""
)

Parameters

srcDir  DirectoryInfo
Source directory to copy into its own directory.
newDirName  String  (Optional)
Gives a new name for the copied directory.

If null, the new directory name is the same as the source directory name.

Note that for directory duplication to take effect, the OperationFlags property must have the RenameCollision flag set before calling PerformOperations function.

See Also