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 &lt؛ 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 المثال الذي يتم التقدم في استخراج.

 عربي