FileOperationQueueCopy(FileInfo, String, String) Method
Queues a copy operation of a source file to a destination 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(
FileInfo srcFile,
string dstDirPath,
string newFileName = ""
)
Public Sub QueueCopy (
srcFile As FileInfo,
dstDirPath As String,
Optional newFileName As String = ""
)
Dim instance As FileOperation
Dim srcFile As FileInfo
Dim dstDirPath As String
Dim newFileName As String
instance.QueueCopy(srcFile, dstDirPath,
newFileName)
public:
void QueueCopy(
FileInfo^ srcFile,
String^ dstDirPath,
String^ newFileName = L""
)
member QueueCopy :
srcFile : FileInfo *
dstDirPath : string *
?newFileName : string
(* Defaults:
let _newFileName = defaultArg newFileName ""
*)
-> unit
No code example is currently available or this language may not be supported.
Parameters
- srcFile FileInfo
-
Source file to copy from.
- dstDirPath String
-
Destination directory path to copy to.
- newFileName String (Optional)
-
Gives a new name for the copied file.
If null, the new file name is the same as the source file name.