Xceed .NET Libraries Documentation
GetZipContents(String,Boolean,String[]) Method


Xceed.Zip Assembly > Xceed.Zip Namespace > QuickZip Class > GetZipContents Method : GetZipContents(String,Boolean,String[]) Method
The fully-qualified path and name of the zip file. Cannot be empty and must exist.
Boolean value indicating if files contained within sub-folders should be extracted from the zip file.
The string masks that are used to filter the files.
Gets the contents of the provided zip file.
Syntax
'Declaration
 
Public Overloads Shared Function GetZipContents( _

   ByVal zipFileName As String, _

   ByVal recursive As Boolean, _

   ByVal ParamArray fileMasks() As String _

) As QuickZipItem()
'Usage
 
Dim zipFileName As String

Dim recursive As Boolean

Dim fileMasks() As String

Dim value() As QuickZipItem

 

value = QuickZip.GetZipContents(zipFileName, recursive, fileMasks)
public static QuickZipItem[] GetZipContents( 

   string zipFileName,

   bool recursive,

   params string[] fileMasks

)

Parameters

zipFileName
The fully-qualified path and name of the zip file. Cannot be empty and must exist.
recursive
Boolean value indicating if files contained within sub-folders should be extracted from the zip file.
fileMasks
The string masks that are used to filter the files.
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