Unpack Method (destDirectory, progressHandler)

DTF API

Copy image CopyHover image
Deployment Tools Foundation Unpack Method (destDirectory, progressHandler)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.CompressionArchiveInfoUnpack(String, EventHandler<(Of <<'(ArchiveProgressEventArgs>)>>))
Extracts all files from an archive to a destination directory, optionally extracting only newer files.
Declaration Syntax
C# Visual Basic Visual C++ F#
public void Unpack(
	string destDirectory,
	EventHandler<ArchiveProgressEventArgs> progressHandler
)
Public Sub Unpack ( 
	destDirectory As String,
	progressHandler As EventHandler(Of ArchiveProgressEventArgs)
)
public:
void Unpack(
	String^ destDirectory, 
	EventHandler<ArchiveProgressEventArgs^>^ progressHandler
)
member Unpack : 
        destDirectory : string * 
        progressHandler : EventHandler<ArchiveProgressEventArgs> -> unit 
Parameters
destDirectory (String)
Directory where the files are to be extracted.
progressHandler (EventHandler<(Of <(<'ArchiveProgressEventArgs>)>)>)
Handler for receiving progress information; this may be null if progress is not desired.

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