Interface IArchive
名称: Aspose.Zip 組み合わせ: Aspose.Zip.dll (25.5.0)
このインターフェイスはアーカイブです。
public interface IArchive : IDisposable
Implements
Properties
FileEntries
Aspose.Zip.IArchiveFileEntry の入力がアーカイブを構成します。
IEnumerable<iarchivefileentry> FileEntries { get; }
不動産価値
IEnumerable < IArchiveFileEntry >
Remarks
圧縮のみのためのアーカイブ、例えば gzip、bzip2、lzip、lzma、xz、zは単一の記録で構成されています - アーカイブ自体。
Format
アーカイブ形式を取得します。
ArchiveFormat Format { get; }
不動産価値
Methods
ExtractToDirectory(ストレッチ)
アーカイブのすべてのファイルを提供されたディレクトリに抽出します。
void ExtractToDirectory(string destinationDirectory)
Parameters
destinationDirectory
string
引き出されたファイルを入力するためのディレクトリへのルート。
Remarks
ディレクトリが存在しない場合は、作成されます。
Exceptions
destinationDirectory’ is null.
例えば、Windows ベースのプラットフォームでは、パスは 248 文字未満で、ファイル名は 260 文字未満でなければなりません。
通話者は、既存のディレクトリにアクセスするための必要な許可はありません。
ディレクトリが存在しない場合、コースには、ドライブラベル(「C:」)の一部ではないコロン文字(:)が含まれています。
destinationDirectory’ is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the System.IO.Path.GetInvalidPathChars method. -or- path is prefixed with, or contains, only a colon character (:).
ルートによって指定されたディレクトリはファイルです. -or- ネットワーク名は知られていません。