Class XarLoadOptions

Class XarLoadOptions

ชื่อพื้นที่: Aspose.Zip.Xar การประกอบ: Aspose.Zip.dll (25.5.0)

ตัวเลือกที่มีการโหลดไฟล์จากไฟล์ที่บีบอัด

public class XarLoadOptions

Inheritance

object XarLoadOptions

อนุญาโตตุลาการ

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

ได้รับหรือตั้งค่าตัวแทนที่เรียกร้องเมื่อไบต์บางอย่างได้รับการสกัด

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

คุณสมบัติมูลค่า

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

ตัวส่งของเหตุการณ์คือตัวอย่าง Aspose.Zip.Xar.XarFileEntry ซึ่งการสกัดจะมีการพัฒนา

 แบบไทย