Copies a file or folder.
Namespace:
Jam.Shell.Dialogs
Assembly:
ShellBrowser.Core (in ShellBrowser.Core.dll) Version: 7.1
Syntax public static void Copy(
ItemIdList pFileName,
ItemIdList pFolder
)
Public Shared Sub Copy (
pFileName As ItemIdList,
pFolder As ItemIdList
)
public:
static void Copy(
ItemIdList^ pFileName,
ItemIdList^ pFolder
)
static member Copy :
pFileName : ItemIdList *
pFolder : ItemIdList -> unit
Parameters
- pFileName
- Type: Jam.ShellItemIdList
The file or folder that should be copied.
- pFolder
- Type: Jam.ShellItemIdList
An existing folder where the specified file or folder should be copied.
Exceptions Remarks Examples
The following example shows how to copy a file:
ItemIdList File = new ItemIdList("C:\\file.exe");
ItemIdList Folder = new ItemIdList("D:\\");
FileOperation.Copy(File, Folder);
See Also