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


Xceed.Zip Assembly > Xceed.Zip Namespace > QuickZip Class > Zip Method : Zip(String,String,Boolean,Boolean,Boolean,SfxPrefix,DiskRequiredCallback,Object,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 diskRequiredCallback As QuickZip.DiskRequiredCallback, _

   ByVal userParams As Object, _

   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 diskRequiredCallback As QuickZip.DiskRequiredCallback

Dim userParams As Object

Dim filesToZip() As String

 

QuickZip.Zip(zipFileName, encryptionPassword, replaceExistingFiles, recursive, preservePaths, sfx, diskRequiredCallback, userParams, filesToZip)

Parameters

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