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


IZipArchive.GetFileNames Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (System)  

IZipArchive.GetFileNames Method

Obtains the list of files in the archive.

[Visual Basic .NET]
Public Function GetFileNames ( _
) As IEnumBSTR
[C#]
public IEnumBSTR GetFileNames (
);
[C++]
HRESULT GetFileNames(
  IEnumBSTR** FileNames
);
[C++]

Parameters FileNames [out, retval]
FileNames is a parameter of type IEnumBSTR

Product Availability

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

Description

Returns an enumeration of file names in the zip archive. Ensure the zip archive is open before using the GetFileNames method by using the OpenArchive method.

See Also

IZipArchive Interface