Xceed .NET Libraries Documentation
ZipItemLocalHeader Constructor(String)


Xceed.Zip Assembly > Xceed.Zip.ReaderWriter Namespace > ZipItemLocalHeader Class > ZipItemLocalHeader Constructor : ZipItemLocalHeader Constructor(String)
A string representing the file name of the item in the Zip file.
Initializes a new instance of the ZipItemLocalHeader class, using the provided file name.
Syntax
'Declaration
 
Public Function New( _
   ByVal fileName As String _
)
'Usage
 
Dim fileName As String
 
Dim instance As New ZipItemLocalHeader(fileName)
public ZipItemLocalHeader( 
   string fileName
)

Parameters

fileName
A string representing the file name of the item in the Zip file.
Remarks

The compression method will be set to Deflated.

The compression level will be set to Normal.

The encryption method will be set to Compatible.

The encryption password will be set to an empty string.

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

Reference

ZipItemLocalHeader Class
ZipItemLocalHeader Members
Overload List