Xceed .NET Libraries Documentation
FileCopy Constructor


Xceed.Zip Assembly > Xceed.Zip.Sfx Namespace > FileCopy Class : FileCopy Constructor
The path and name of the file to copy.
The path and name of the destination file.
Initializes a new instance of the FileCopy class specifying the path and name of both the file to copy and the destitination file.
Syntax
'Declaration
 
Public Function New( _
   ByVal sourceFileName As String, _
   ByVal destinationFileName As String _
)
'Usage
 
Dim sourceFileName As String
Dim destinationFileName As String
 
Dim instance As New FileCopy(sourceFileName, destinationFileName)
public FileCopy( 
   string sourceFileName,
   string destinationFileName
)

Parameters

sourceFileName
The path and name of the file to copy.
destinationFileName
The path and name of the destination file.
Remarks

Variables can be used, however wildcards are not supported.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

FileCopy Class
FileCopy Members