This method copies the specified file from one directory to another.
Syntax
'Declaration
Public Sub CopyFile( _
ByVal As String, _
ByVal As String, _
ByVal As Boolean _
)
'Usage
Dim instance As ImGearTWAIN
Dim sourceFileName As String
Dim destinationFileName As String
Dim recursive As Boolean
instance.CopyFile(sourceFileName, destinationFileName, recursive)
public void CopyFile(
string ,
string ,
bool
)
public: void CopyFile(
string* ,
string* ,
bool
)
public:
void CopyFile(
String^ ,
String^ ,
bool
)
Parameters
- sourceFileName
- The path to the source file/directory.
- destinationFileName
- The path to the destination file/directory.
- recursive
- Specifies whether the copying is recursive or not.
See Also