'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)
public static void Zip( string zipFileName, string encryptionPassword, EncryptionMethod encryptionMethod, CompressionMethod compressionMethod, bool replaceExistingFiles, bool recursive, bool preservePaths, long splitSize, SplitNameFormat splitNameFormat, SfxPrefix sfx, QuickZip.DiskRequiredCallback diskRequiredCallback, QuickZip.ByteProgressionCallback byteProgressionCallback, QuickZip.ItemProgressionCallback itemProgressionCallback, object userParams, params string[] filesToZip )
Parameters
- zipFileName
- encryptionPassword
- encryptionMethod
- compressionMethod
- replaceExistingFiles
- recursive
- preservePaths
- splitSize
- splitNameFormat
- sfx
- diskRequiredCallback
- byteProgressionCallback
- itemProgressionCallback
- userParams
- filesToZip