Xceed .NET Libraries Documentation
Xceed.Zip Assembly / Xceed.Zip.ReaderWriter Namespace / ZipItemLocalHeader Class / ZipItemLocalHeader Constructor / ZipItemLocalHeader Constructor(String,CompressionMethod,CompressionLevel,EncryptionMethod,String)
A string representing the file name of the item in the Zip file.
A CompressionMethod value indicating the compression method used on the file.
A CompressionLevel value indicating the compression level used on the file.
An EncryptionMethod value indicating the encryption method used on the item in the Zip file.
A string representing the password to use to encrypt or decrypt the iem in the Zip file.


    ZipItemLocalHeader Constructor(String,CompressionMethod,CompressionLevel,EncryptionMethod,String)
    Initializes a new instance of the ZipItemLocalHeader class, using the provided file name, the compression method and level, and the encryption method and password.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal fileName As String, _
       ByVal compressionMethod As CompressionMethod, _
       ByVal compressionLevel As CompressionLevel, _
       ByVal encryptionMethod As EncryptionMethod, _
       ByVal encryptionPassword As String _
    )
     
    'Usage
     
    Dim fileName As String
    Dim compressionMethod As CompressionMethod
    Dim compressionLevel As CompressionLevel
    Dim encryptionMethod As EncryptionMethod
    Dim encryptionPassword As String
     
    Dim instance As New ZipItemLocalHeader(fileName, compressionMethod, compressionLevel, encryptionMethod, encryptionPassword)

    Parameters

    fileName
    A string representing the file name of the item in the Zip file.
    compressionMethod
    A CompressionMethod value indicating the compression method used on the file.
    compressionLevel
    A CompressionLevel value indicating the compression level used on the file.
    encryptionMethod
    An EncryptionMethod value indicating the encryption method used on the item in the Zip file.
    encryptionPassword
    A string representing the password to use to encrypt or decrypt the iem in the Zip file.
    Remarks
    The comment will be set to an empty string.
    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