Class Bzip2LoadOptions
Class Bzip2LoadOptions
Namespace: Aspose.Zip.Bzip2
Assembly: Aspose.Zip.dll (25.1.0)
ตัวเลือกสำหรับการโหลด Aspose.Zip.Bzip2.Bzip2Archive ซึ่งมีเหตุการณ์ที่เกิดขึ้นเมื่อมีการแยกไฟล์
public class Bzip2LoadOptions
การสืบทอด
สมาชิกที่สืบทอด
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
ตัวสร้าง
Bzip2LoadOptions()
public Bzip2LoadOptions()
ExtractionProgressed
เหตุการณ์ที่เกิดขึ้นเมื่อมีการแยกบางไบต์ออกมา
public event EventHandler<progresseventargs> ExtractionProgressed
ประเภทเหตุการณ์
EventHandler<ProgressEventArgs>
ตัวอย่าง
Bzip2LoadOptions loadOptions = new Bzip2LoadOptions();
loadOptions.ExtractionProgressed += (s, e) => { percent = (int) ((double)(100 * e.ProceededBytes) / originalFileLength); };
หมายเหตุ
ผู้ส่งเหตุการณ์คืออินสแตนซ์ของ Aspose.Zip.Bzip2.Bzip2Archive ซึ่งการแยกไฟล์กำลังดำเนินอยู่ Aspose.Zip.ProgressEventArgs.ProceededBytes คือจำนวนไบต์ที่แยกออกหลังจากการแยกไฟล์