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


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

IZipArchiveEx.AddFileEx Method

Compresses a file and adds it to the archive preserving the sub-folder off the root folder.

[Visual Basic .NET]
Public Sub AddFileEx ( _
    ByVal inputFile As String, _
    ByVal rootFolder As String _
)
[C#]
public void AddFileEx (
    string inputFile,
    string rootFolder
);
[C++]
HRESULT AddFileEx(
  BSTR inputFile,
  BSTR rootFolder
);
[C++]
Parameters
inputFile [in]

inputFile is a parameter of type BSTR rootFolder [in]
rootFolder is a parameter of type BSTR

Product Availability

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

See Also

IZipArchiveEx Interface