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 インスタンスです。