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 例子,其提取程序正在进行中。

 中文