Class XarLoadOptions

Class XarLoadOptions

Namespace: Aspose.Zip.Xar
Assembly: Aspose.Zip.dll (25.1.0)

Опції, з якими архів завантажується з стиснутого файлу.

public class XarLoadOptions

Спадкування

objectXarLoadOptions

Спадковані члени

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&gt;

Приклади

XarArchive archive = new XarArchive("archive.xar", 
new XarLoadOptions() { EntryExtractionProgressed = (s, e) =&gt; { int percent = (int)((100 * e.ProceededBytes) / ((XarFileEntry)s).Length); } })

Примітки

Відправник події - це екземпляр Aspose.Zip.Xar.XarFileEntry, витягування якого прогресує.

 Українська