Class IsoEntry

Class IsoEntry

名称: Aspose.Zip.Iso 收藏: Aspose.Zip.dll (25.5.0)

代表一个输入(文件或目录)在ISO档案中。

public abstract class IsoEntry : IArchiveFileEntry

Inheritance

object IsoEntry

Implements

IArchiveFileEntry

继承人

object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Properties

IsDirectory

收到一个值,表明输入是否是一个目录。

public bool IsDirectory { get; }

财产价值

bool

Length

收到或设置创作日期和时间。

public long? Length { get; }

财产价值

long ?

ModificationTime

收到或设置最后修改的日期和时间。

public DateTime ModificationTime { get; }

财产价值

DateTime

Name

接到入口的名称。

public string Name { get; }

财产价值

string

Methods

Extract(线条)

通过提供的路径将输入到文件系统。

public FileInfo Extract(string path)

Parameters

path string

路径到目的地文件. 如果文件已经存在,它将被过写。

Returns

FileInfo

System.IO.FileInfo 例子包含提取的数据。

Exceptions

ArgumentNullException

path’ is null.

SecurityException

召唤者没有所需的访问许可。

ArgumentException

path’ 是空的,只包含白色空间,或包含无效的字符。

UnauthorizedAccessException

拒绝访问 path" 文件。

PathTooLongException

指定的 path’, 文件名, 或两者都超过系统定义的最大长度. 例如,在基于 Windows 的平台上,路径必须小于 248 个字符, 文件名必须小于 260 个字符。

NotSupportedException

文件在 path’ 中间包含一个列(:)。

ArgumentNullException

path’ is null.

SecurityException

召唤者没有所需的访问许可。

ArgumentException

path’ 是空的,只包含白色空间,或包含无效的字符。

UnauthorizedAccessException

拒绝访问 path" 文件。

PathTooLongException

指定的 path’, 文件名, 或两者都超过系统定义的最大长度. 例如,在基于 Windows 的平台上,路径必须小于 248 个字符, 文件名必须小于 260 个字符。

NotSupportedException

文件在 path’ 中间包含一个列(:)。

FileNotFoundException

文件未找到。

DirectoryNotFoundException

指定的路径是无效的,例如在无地图驱动器上。

IOException

文件已经开放了。

Extract(Stream)

将输入到提供的流。

public void Extract(Stream destination)

Parameters

destination Stream

目的地流,必须写作。

Exceptions

ArgumentException

destination’ does not support writing.

NotSupportedException

上传,如果输入不代表文件。

ToString()

返回代表当前输入的线条。

public override string ToString()

Returns

string

入口的名称。

 中文