Xceed .NET Libraries Documentation
Zip(String,String,EncryptionMethod,CompressionMethod,Boolean,Boolean,Boolean,Int64,SplitNameFormat,SfxPrefix,DiskRequiredCallback,ByteProgressionCallback,ItemProgressionCallback,Object,String[]) Method


Xceed.Zip Assembly > Xceed.Zip Namespace > QuickZip Class > Zip Method : Zip(String,String,EncryptionMethod,CompressionMethod,Boolean,Boolean,Boolean,Int64,SplitNameFormat,SfxPrefix,DiskRequiredCallback,ByteProgressionCallback,ItemProgressionCallback,Object,String[]) Method
Syntax
'Declaration
 
Public Overloads Shared Sub Zip( _
   ByVal zipFileName As String, _
   ByVal encryptionPassword As String, _
   ByVal encryptionMethod As EncryptionMethod, _
   ByVal compressionMethod As CompressionMethod, _
   ByVal replaceExistingFiles As Boolean, _
   ByVal recursive As Boolean, _
   ByVal preservePaths As Boolean, _
   ByVal splitSize As Long, _
   ByVal splitNameFormat As SplitNameFormat, _
   ByVal sfx As SfxPrefix, _
   ByVal diskRequiredCallback As QuickZip.DiskRequiredCallback, _
   ByVal byteProgressionCallback As QuickZip.ByteProgressionCallback, _
   ByVal itemProgressionCallback As QuickZip.ItemProgressionCallback, _
   ByVal userParams As Object, _
   ByVal ParamArray filesToZip() As String _
) 
'Usage
 
Dim zipFileName As String
Dim encryptionPassword As String
Dim encryptionMethod As EncryptionMethod
Dim compressionMethod As CompressionMethod
Dim replaceExistingFiles As Boolean
Dim recursive As Boolean
Dim preservePaths As Boolean
Dim splitSize As Long
Dim splitNameFormat As SplitNameFormat
Dim sfx As SfxPrefix
Dim diskRequiredCallback As QuickZip.DiskRequiredCallback
Dim byteProgressionCallback As QuickZip.ByteProgressionCallback
Dim itemProgressionCallback As QuickZip.ItemProgressionCallback
Dim userParams As Object
Dim filesToZip() As String
 
QuickZip.Zip(zipFileName, encryptionPassword, encryptionMethod, compressionMethod, replaceExistingFiles, recursive, preservePaths, splitSize, splitNameFormat, sfx, diskRequiredCallback, byteProgressionCallback, itemProgressionCallback, userParams, filesToZip)

Parameters

zipFileName
encryptionPassword
encryptionMethod
compressionMethod
replaceExistingFiles
recursive
preservePaths
splitSize
splitNameFormat
sfx
diskRequiredCallback
byteProgressionCallback
itemProgressionCallback
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