Class XarLoadOptions

Class XarLoadOptions

Namespace: Aspose.Zip.Xar
Assembly: Aspose.Zip.dll (25.1.0)

압축 파일에서 아카이브를 로드하는 옵션입니다.

public class XarLoadOptions

상속

objectXarLoadOptions

상속된 멤버

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&gt;

예제

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

비고

이벤트 발신자는 추출이 진행 중인 Aspose.Zip.Xar.XarFileEntry 인스턴스입니다.

 한국어