FileOperationQueueCopy(DirectoryInfo, String) Method
Queues a copy operation of a source directory into its own directory.
Namespace: DevCase.Core.IO.FileSystemAssembly: 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 = ""
)
Public Sub QueueCopy (
srcDir As DirectoryInfo,
Optional newDirName As String = ""
)
Dim instance As FileOperation
Dim srcDir As DirectoryInfo
Dim newDirName As String
instance.QueueCopy(srcDir, newDirName)
public:
void QueueCopy(
DirectoryInfo^ srcDir,
String^ newDirName = L""
)
member QueueCopy :
srcDir : DirectoryInfo *
?newDirName : string
(* Defaults:
let _newDirName = defaultArg newDirName ""
*)
-> unit
No code example is currently available or this language may not be supported.
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.