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


IZipArchiveEx.AddFileEx Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (System)  

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