Unpack Method (streamContext, fileFilter)

Microsoft Deployment Tools

Deployment Tools Foundation Unpack Method (streamContext, fileFilter)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.CompressionCompressionEngineUnpack(IUnpackStreamContext, Predicate<(Of <(String>)>))
Extracts files from an archive or archive chain.
Declaration Syntax
C# Visual Basic Visual C++
public abstract void Unpack(
	IUnpackStreamContext streamContext,
	Predicate<string> fileFilter
)
Public MustOverride Sub Unpack ( _
	streamContext As IUnpackStreamContext, _
	fileFilter As Predicate(Of String) _
)
public:
virtual void Unpack(
	IUnpackStreamContext^ streamContext, 
	Predicate<String^>^ fileFilter
) abstract
Parameters
streamContext (IUnpackStreamContext)
A context interface to handle opening and closing of archive and file streams.
fileFilter (Predicate<(Of <(String>)>))
An optional predicate that can determine which files to process.
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 (Module: Microsoft.Deployment.Compression) Version: 3.0.0.0 (3.5.1623.0)