System.Zip.TZipFile.GetFileIndex

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetFileIndex(const FileName: string): Integer;

C++

int __fastcall GetFileIndex(const System::UnicodeString FileName);

Properties

Type Visibility Source Unit Parent
function public
System.Zip.pas
System.Zip.hpp
System.Zip TZipFile

Description

Determines the index of the first appearance of a file in the .zip archive.

GetFileIndex returns the index of the first appearance of FileName in the TZipFile.

It raises the EZipException when the file is not found.


See Also