Xceed Real-Time Zip for .NET Documentation
ZipItemLocalHeader Constructor(String,CompressionMethod,CompressionLevel)


Xceed.Zip Assembly > Xceed.Zip.ReaderWriter Namespace > ZipItemLocalHeader Class > ZipItemLocalHeader Constructor : ZipItemLocalHeader Constructor(String,CompressionMethod,CompressionLevel)
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.
Initializes a new instance of the ZipItemLocalHeader class, using the provided file name and the compression method and level.
Syntax
'Declaration
 
Public Function New( _

   ByVal fileName As String, _

   ByVal compressionMethod As CompressionMethod, _

   ByVal compressionLevel As CompressionLevel _

)
'Usage
 
Dim fileName As String

Dim compressionMethod As CompressionMethod

Dim compressionLevel As CompressionLevel

 

Dim instance As New ZipItemLocalHeader(fileName, compressionMethod, compressionLevel)
public ZipItemLocalHeader( 

   string fileName,

   CompressionMethod compressionMethod,

   CompressionLevel compressionLevel

)

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.
Remarks

The encryption method will be set to Compatible.

The encryption password and 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

Reference

ZipItemLocalHeader Class
ZipItemLocalHeader Members
Overload List