Class WimDirectoryEntry
이름 공간 : Aspose.Zip.Wim 모임: Aspose.Zip.dll (25.5.0)
WIM 아카이브 내에서 단일 디렉토리를 나타냅니다.
public sealed class WimDirectoryEntry : WimEntry
Inheritance
object ← WimEntry ← WimDirectoryEntry
상속 회원들
WimEntry.ToString() , WimEntry.Archive , WimEntry.Image , WimEntry.Parent , WimEntry.Name , WimEntry.ShortName , WimEntry.FullPath , WimEntry.ChangeTime , WimEntry.CreationTime , WimEntry.LastAccessTime , WimEntry.LastWriteTime , WimEntry.ModificationTime , WimEntry.FileAttributes , WimEntry.AlternateDataStreams , WimEntry.HardLink , WimEntry.HasHardLinks , WimEntry.IsDirectory , object.GetType() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Properties
AllEntries
Aspose.Zip.Wim.WimEntry 형식의 모든 입력이 리커스를 반복적으로 형성합니다.
public IEnumerable<wimentry> AllEntries { get; }
부동산 가치
IEnumerable <에 대한 정보 WimEntry >
Directories
디렉토리를 구성하는 Aspose.Zip.Wim.WimDirectoryEntry 형식의 입력을 얻습니다.
public ReadOnlyCollection<wimdirectoryentry> Directories { get; }
부동산 가치
ReadOnlyCollection <에 대한 정보 WimDirectoryEntry >
Files
디렉토리를 구성하는 Aspose.Zip.Wim.WimFileEntry 형식의 입력을 얻습니다.
public ReadOnlyCollection<wimfileentry> Files { get; }
부동산 가치
ReadOnlyCollection <에 대한 정보 WimFileEntry >
FilesAndDirectories
디렉토리를 구성하는 Aspose.Zip.Wim.WimEntry 형식의 입력을 얻습니다.
public IEnumerable<wimentry> FilesAndDirectories { get; }
부동산 가치
IEnumerable <에 대한 정보 WimEntry >
Methods
ExtractToDirectory(스트리트)
현재 디렉토리에 있는 모든 파일을 제공된 디렉토리로 추출합니다.
public void ExtractToDirectory(string destinationDirectory)
Parameters
destinationDirectory
string
디렉토리로 이동하여 추출된 파일을 입력합니다.
Examples
using (var archive = new WimArchive("archive.wim"))
{
archive.Images[0].RootDirectory.ExtractToDirectory(@"C:\\extracted");
}
Remarks
디렉토리가 존재하지 않는다면, 그것은 만들어집니다.
Exceptions
길은 0
지정된 경로, 파일 이름 또는 둘 다 시스템에 의해 정의 된 최대 길이를 초과합니다.예를 들어, Windows 기반 플랫폼에서 경로는 248 문자 미만이어야하며 파일 이름은 260 문자 미만이어야합니다.
호출자는 기존 디렉토리에 액세스 할 수있는 필요한 허가를 가지고 있지 않습니다.
디렉토리가 존재하지 않는 경우, 경로는 드라이브 라벨의 일부가 아닌 척추 캐릭터 (:)를 포함합니다 (“C:”).
경로는 0 길이의 스트립, 단지 흰 공간을 포함, 또는 하나 이상의 무효 캐릭터를 포함합니다. 당신은 System.IO.Path.GetInvalidPathChars 방법을 사용하여 무효 캐릭터를 요청할 수 있습니다. -or- 경로는, 또는 포함, 단지 척추 캐릭터 (:).
경로에 의해 지정된 디렉토리는 파일입니다. -or- 네트워크 이름은 알려지지 않습니다.
아카이브가 부패했다.