Class XarLoadOptions

Class XarLoadOptions

Tên không gian: Aspose.Zip.Xar Tổng hợp: Aspose.Zip.dll (25.5.0)

Các tùy chọn mà lưu trữ được tải từ một tệp bị nén.

public class XarLoadOptions

Inheritance

object XarLoadOptions

Thành viên thừa kế

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

Nhận hoặc đặt đại diện được gọi khi một số byte đã được rút ra.

public EventHandler<progresseventargs> EntryExtractionProgressed { get; set; }

Giá trị bất động sản

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

Người gửi sự kiện là ví dụ Aspose.Zip.Xar.XarFileEntry mà khai thác đang tiến bộ.

 Tiếng Việt