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.

 Български