Class XarLoadOptions

Class XarLoadOptions

Nom dels espais: Aspose.Zip.Xar Assemblea: Aspose.Zip.dll (25.5.0)

Opcions amb les quals l’arxiu es carrega d’un fitxer comprès.

public class XarLoadOptions

Inheritance

object XarLoadOptions

Membres heretats

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

Obté o posa el delegat invocat quan s’han extret alguns bytes.

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

Valor de la propietat

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

El missatger d’esdeveniments és l’instància Aspose.Zip.Xar.XarFileEntry la extracció és progressiva.

 Català