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 > IZipArchive Interface > IZipArchive.GetFileNames Method (ArcObjects .NET 10.5 SDK) |
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
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.