Class XarLoadOptions

Class XarLoadOptions

Numele spaţiului: Aspose.Zip.Xar Asamblare: Aspose.Zip.dll (25.5.0)

Opțiuni cu care fișierul este încărcat dintr-un fișier comprimat.

public class XarLoadOptions

Inheritance

object XarLoadOptions

Membrii moștenitori

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

Obține sau pune delegatul invocat atunci când unele byte au fost extrase.

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

Valoarea proprietății

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

Mesagerul evenimentului este instanta Aspose.Zip.Xar.XarFileEntry a cărei extractie este avansată.

 Română