Discuss this help topic in SecureBlackbox Forum

TElTarReader.OnExtractionStart

TElTarReader     See also     


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


This event is fired when TElTarReader begins the extraction.

Declaration

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

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

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

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

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

[Java]
    TSBTarExtractionStartEvent getOnExtractionStart();
    void setOnExtractionStart(TSBTarExtractionStartEvent Value);
    TSBTarExtractionStartEvent.Callback OnExtractionStart = new TSBTarExtractionStartEvent.Callback() {
        public void TSBTarExtractionStartEventCallback(TObject Sender, TElTarArchiveDirectoryEntry 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 TElTarReader 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