System.Zip.TZipFile.FileComment

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property FileComment[Index: Integer]: string read GetFileComment write SetFileComment;

C++

__property System::UnicodeString FileComment[int Index] = {read=GetFileComment, write=SetFileComment};

Properties

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

Description

Provides access to a file comment specified by Index.

File comments can be changed for files opened in write mode at any point. The comment is written when the Central Directory is written to disk.

Comments can have a length of maximum 65535 bytes. If a longer comment is supplied, it is truncated before writing it to the .zip file.

See Also