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