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 אשר ההוצאה שלו מתקדמת.