This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IZ > IZipArchiveEx Interface > IZipArchiveEx.AddFileEx Method (ArcObjects .NET 10.5 SDK) |
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