GetFileInfo Method (streamContext, fileFilter)

Microsoft Deployment Compression & Installer

Copy image CopyHover image
Deployment Tools Foundation GetFileInfo Method (streamContext, fileFilter)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.Compression.ZipZipEngineGetFileInfo(IUnpackStreamContext, Predicate<(Of <<'(String>)>>))
Gets information about files in a zip archive or archive chain.
Declaration Syntax
C# Visual Basic Visual C++
public override IList<ArchiveFileInfo> GetFileInfo(
	IUnpackStreamContext streamContext,
	Predicate<string> fileFilter
)
Public Overrides Function GetFileInfo ( 
	streamContext As IUnpackStreamContext,
	fileFilter As Predicate(Of String)
) As IList(Of ArchiveFileInfo)
public:
virtual IList<ArchiveFileInfo^>^ GetFileInfo(
	IUnpackStreamContext^ streamContext, 
	Predicate<String^>^ fileFilter
) override
Parameters
streamContext (IUnpackStreamContext)
A context interface to handle opening and closing of archive and file streams.
fileFilter (Predicate<(Of <(<'String>)>)>)
A predicate that can determine which files to process, optional.
Return Value
IList<(Of <(<'ArchiveFileInfo>)>)>
Information about files in the archive stream.
Remarks
The fileFilter predicate takes an internal file path and returns true to include the file or false to exclude it.
Exceptions
Exception Condition
ArchiveException The archive provided by the stream context is not valid.

Assembly: Microsoft.Deployment.Compression.Zip (Module: Microsoft.Deployment.Compression.Zip.dll) Version: 3.0.0.0 (3.9.1006.0)