Class XarLoadOptions

Class XarLoadOptions

De naam: Aspose.Zip.Xar Verzameling: Aspose.Zip.dll (25.5.0)

Opties waarmee het archief wordt geladen uit een gecomprimeerde bestand.

public class XarLoadOptions

Inheritance

object XarLoadOptions

Geëerbiede leden

object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Constructors

XarLoadOptions()

public XarLoadOptions()

Properties

EntryExtractionProgressed

Geeft of zet de delegate opgeroepen wanneer sommige byten zijn geëxtraheerd.

public EventHandler<progresseventargs> EntryExtractionProgressed { get; set; }

Eigendomswaarde

EventHandler < ProgressEventArgs >

Examples

XarArchive archive = new XarArchive("archive.xar", 
new XarLoadOptions() { EntryExtractionProgressed = (s, e) =&gt; { int percent = (int)((100 * e.ProceededBytes) / ((XarFileEntry)s).Length); } })

Remarks

Event sender is de Aspose.Zip.Xar.XarFileEntry-instantie waarvan de extractie vooruitgaat.

 Nederlands