This document is archived and information here might be outdated.  Recommended version.


IZipArchive.Extract Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (System)  

IZipArchive.Extract Method

Extracts all items in the archive to the output directory.

[Visual Basic .NET]
Public Sub Extract ( _
    ByVal outputDir As String _
)
[C#]
public void Extract (
    string outputDir
);
[C++]
HRESULT Extract(
  BSTR outputDir
);
[C++]

Parameters outputDir [in] outputDir is a parameter of type BSTR

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

The Extract method extracts all of the compressed files in the zip archive into the specified directory. Ensure the zip archive is open before using the Extract method by using the OpenArchive method.

See Also

IZipArchive Interface