Xceed .NET Libraries Documentation
Zip(String,String,Boolean,Boolean,Boolean,SfxPrefix,String[]) Method


Xceed.Zip Assembly > Xceed.Zip Namespace > QuickZip Class > Zip Method : Zip(String,String,Boolean,Boolean,Boolean,SfxPrefix,String[]) Method
Syntax
'Declaration
 
Public Overloads Shared Sub Zip( _
   ByVal zipFileName As String, _
   ByVal encryptionPassword As String, _
   ByVal replaceExistingFiles As Boolean, _
   ByVal recursive As Boolean, _
   ByVal preservePaths As Boolean, _
   ByVal sfx As SfxPrefix, _
   ByVal ParamArray filesToZip() As String _
) 
'Usage
 
Dim zipFileName As String
Dim encryptionPassword As String
Dim replaceExistingFiles As Boolean
Dim recursive As Boolean
Dim preservePaths As Boolean
Dim sfx As SfxPrefix
Dim filesToZip() As String
 
QuickZip.Zip(zipFileName, encryptionPassword, replaceExistingFiles, recursive, preservePaths, sfx, filesToZip)
public static void Zip( 
   string zipFileName,
   string encryptionPassword,
   bool replaceExistingFiles,
   bool recursive,
   bool preservePaths,
   SfxPrefix sfx,
   params string[] filesToZip
)

Parameters

zipFileName
encryptionPassword
replaceExistingFiles
recursive
preservePaths
sfx
filesToZip
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

QuickZip Class
QuickZip Members
Overload List