System.Zip.TZipFile.GetFileIndex

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

function GetFileIndex(const FileName: string): Integer;

C++

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

プロパティ

種類 可視性 ソース ユニット
function public
System.Zip.pas
System.Zip.hpp
System.Zip TZipFile


説明

.zip アーカイブ内のファイルが最初に出現するインデックスを決定します。

GetFileIndex は、TZipFile 内で FileName が最初に出現するインデックスを返します。

ファイルが見つからない場合は、EZipException を発生させます。


関連項目