Copies the specified file into the specified folder.
Namespace: DotNetNuke.Services.FileSystemAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
| C# |
|---|
IFileInfo CopyFile( IFileInfo file, IFolderInfo destinationFolder ) |
| Visual Basic |
|---|
Function CopyFile ( file As IFileInfo, destinationFolder As IFolderInfo ) As IFileInfo |
Parameters
- file
- Type: DotNetNuke.Services.FileSystem..::..IFileInfo
The file to copy.
- destinationFolder
- Type: DotNetNuke.Services.FileSystem..::..IFolderInfo
The folder where to copy the file to.