Class XarLoadOptions

Class XarLoadOptions

Namespace: Aspose.Zip.Xar
Assembly: Aspose.Zip.dll (25.1.0)

Opsi dengan mana arsip dimuat dari file terkompresi.

public class XarLoadOptions

Pewarisan

objectXarLoadOptions

Anggota yang Dwarisi

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

Konstruktor

XarLoadOptions()

public XarLoadOptions()

Properti

EntryExtractionProgressed

Mendapatkan atau menetapkan delegasi yang dipanggil ketika beberapa byte telah diekstraksi.

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

Nilai Properti

EventHandler<ProgressEventArgs&gt;

Contoh

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

Keterangan

Pengirim acara adalah instansi Aspose.Zip.Xar.XarFileEntry yang ekstraksinya sedang berlangsung.

 Indonesia