ShortcutFileInfoCopyTo Method
Copies an existing shortcut file to a new file, allowing the overwriting of an existing file.
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 Function CopyTo (
destFileName As String,
overwrite As Boolean
) As ShortcutFileInfo
Dim instance As ShortcutFileInfo
Dim destFileName As String
Dim overwrite As Boolean
Dim returnValue As ShortcutFileInfo
returnValue = instance.CopyTo(destFileName,
overwrite)
No code example is currently available or this language may not be supported.
- destFileName String
-
The name of the new file to copy to.
- overwrite Boolean
- to allow an existing file to be overwritten; otherwise, .
ShortcutFileInfo
A new shortcut file, or an overwrite of an existing file if overwrite is true.
If the file exists and overwrite is false, an
IOException is thrown.