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


IZipArchive.Extract Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IZ > IZipArchive Interface > IZipArchive.Extract Method
ArcGIS Developer Help

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