System.Zip.TZipFile.Open
Delphi
procedure Open(const ZipFileName: string; OpenMode: TZipMode); overload;
procedure Open(ZipFileStream: TStream; OpenMode: TZipMode); overload;
C++
void __fastcall Open(const System::UnicodeString ZipFileName, TZipMode OpenMode)/* overload */;
void __fastcall Open(System::Classes::TStream* ZipFileStream, TZipMode OpenMode)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | System.Zip.pas System.Zip.hpp |
System.Zip | TZipFile |
Description
Opens a .zip file for reading or writing.
There are two overloads of this procedure, depending on the mode that the .zip file is represented. The .zip file can be a file on the disk or a TStream object.
Open opens the .zip file specified by ZipFileName
(or by ZipFileStream
) for reading or writing. OpenMode
indicates the mode in which the .zip file is opened.