Class XarLoadOptions

Class XarLoadOptions

Le nom : Aspose.Zip.Xar Assemblée: Aspose.Zip.dll (25.5.0)

Opzioni con le quali l’archivio viene caricato da un file compreso.

public class XarLoadOptions

Inheritance

object XarLoadOptions

I membri ereditari

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

Riceve o mette il delegato invocato quando alcuni byti sono stati estratti.

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

Valore di proprietà

EventHandler di < ProgressEventArgs >

Examples

XarArchive archive = new XarArchive("archive.xar", 
new XarLoadOptions() { EntryExtractionProgressed = (s, e) =&gt; { int percent = (int)((100 * e.ProceededBytes) / ((XarFileEntry)s).Length); } })

Remarks

Il messaggero di eventi è l’esempio Aspose.Zip.Xar.XarFileEntry la cui estrazione è avanzata.

 Français