Xceed Real-Time Zip for .NET Documentation
Add(String,String) Method


Xceed.Zip Assembly > Xceed.Zip.Sfx Namespace > FileCopyList Class > Add Method : Add(String,String) Method
The path and name of the file to copy.
The path and name of the destination file.
Adds a file to the list specifying the path and name of both the file to copy and the destination file.
Syntax
'Declaration
 
Public Overloads Function Add( _

   ByVal sourceFileName As String, _

   ByVal destinationFileName As String _

) As Integer
'Usage
 
Dim instance As FileCopyList

Dim sourceFileName As String

Dim destinationFileName As String

Dim value As Integer

 

value = instance.Add(sourceFileName, destinationFileName)
public int Add( 

   string sourceFileName,

   string destinationFileName

)

Parameters

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

Return Value

The zero-based index at which the file was added.
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

FileCopyList Class
FileCopyList Members
Overload List