Discuss this help topic in SecureBlackbox Forum

TElZipReader.OnExtractionStart

TElZipReader     See also     


Filter: C#  VB.NET  Pascal  C++  PHP  Java  


This event is fired when TElZipReader begins the extraction.

Declaration

[C#]
    event TSBZipExtractionStartEvent OnExtractionStart;
    delegate void TSBZipExtractionStartEvent(Object Sender, TElZipArchiveDirectoryEntry Entry, ref bool Extract);

[VB.NET]
    Event OnExtractionStart As TSBZipExtractionStartEvent
    Delegate Sub TSBZipExtractionStartEvent(ByVal Sender As Object, ByVal Entry As TElZipArchiveDirectoryEntry, ByRef Extract As Boolean)

[Pascal]
    property OnExtractionStart : TSBZipExtractionStartEvent;
    TSBZipExtractionStartEvent = procedure(Sender: TObject; Entry : TElZipArchiveDirectoryEntry; var Extract : boolean) of object;

[C++]
    void get_OnExtractionStart(TSBZipExtractionStartEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnExtractionStart(TSBZipExtractionStartEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBZipExtractionStartEvent)(void * _ObjectData, TObjectHandle Sender, TElZipArchiveDirectoryEntryHandle Entry, int8_t &Extract);

[PHP]
    TSBZipExtractionStartEvent|callable|NULL get_OnExtractionStart()
    void set_OnExtractionStart(TSBZipExtractionStartEvent|callable|NULL $Value)
    callable TSBZipExtractionStartEvent(TObject $Sender, TElZipArchiveDirectoryEntry $Entry, bool &$Extract)

[Java]
    TSBZipExtractionStartEvent getOnExtractionStart();
    void setOnExtractionStart(TSBZipExtractionStartEvent Value);
    TSBZipExtractionStartEvent.Callback OnExtractionStart = new TSBZipExtractionStartEvent.Callback() {
        public void TSBZipExtractionStartEventCallback(TObject Sender, TElZipArchiveDirectoryEntry Entry, TSBBoolean Extract) {
            //...
        }
    }

Parameters

  • Entry - the archive entry to be extracted.
  • Extract - if this parameter is set to false, current entry will not be extracted.

Description

    This event is fired by TElZipReader when it is starting to extract the next entry from the archive. You can abort extraction of the next file by setting the Extract parameter to false.

See also:     OnExtractionFinished     OnProgress    

Discuss this help topic in SecureBlackbox Forum