Class XarLoadOptions
Class XarLoadOptions
Namespace: Aspose.Zip.Xar
Assembly: Aspose.Zip.dll (25.1.0)
خيارات تحميل الأرشيف من ملف مضغوط.
public class XarLoadOptions
الوراثة
الأعضاء الموروثة
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
المُنشئات
XarLoadOptions()
public XarLoadOptions()
الخصائص
EntryExtractionProgressed
يحصل أو يحدد المفوض الذي يتم استدعاؤه عند استخراج بعض البايتات.
public EventHandler<progresseventargs> EntryExtractionProgressed { get; set; }
قيمة الخاصية
EventHandler<ProgressEventArgs>
أمثلة
XarArchive archive = new XarArchive("archive.xar",
new XarLoadOptions() { EntryExtractionProgressed = (s, e) => { int percent = (int)((100 * e.ProceededBytes) / ((XarFileEntry)s).Length); } })
ملاحظات
مرسل الحدث هو مثيل Aspose.Zip.Xar.XarFileEntry الذي يتم تقدم استخراج البيانات منه.