The ArchiveItem type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ArchiveItem | Creates an instance of ArchiveItem class. |
Methods
Name | Description | |
---|---|---|
Delete()()()() |
Deletes the current file or empty directory item from the archive.
| |
Delete(ArchiveSaveAction) |
Deletes the current file or empty directory item from the archive.
| |
Delete(ArchiveTraversalMode) | Obsolete. | |
Delete(ArchiveTraversalMode, ArchiveSaveAction) | Obsolete. | |
Delete(TraversalMode, ArchiveSaveAction) |
Deletes the current item from the archive.
| |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
ExtractToArray |
Extracts the current file item into a byte array.
| |
ExtractToDirectory(String) |
Extracts the current item into the specified directory.
| |
ExtractToDirectory(String, ArchiveTraversalMode, ArchiveActionOnExistingFile) | Obsolete. | |
ExtractToDirectory(String, TraversalMode, ActionOnExistingFiles) |
Extracts the current item into the specified local directory using the specified arguments.
| |
ExtractToFile |
Extracts the current file item into a local file.
| |
ExtractToStream |
Extracts the current file item to the specified stream.
| |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetCreationTime |
Gets the creation time attribute of the item.
(Overrides FileSystemItem..::..GetCreationTime()()()().) | |
GetHashCode | Serves as a hash function for a particular type. GetHashCode()()()() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) | |
GetLastAccessTime |
Gets the last access time attribute of the item.
(Overrides FileSystemItem..::..GetLastAccessTime()()()().) | |
GetLastWriteTime |
Gets the last modification time attribute of the item.
(Overrides FileSystemItem..::..GetLastWriteTime()()()().) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Open()()()() |
Returns an initialized read-only non-seekable stream to read the decompressed data of the current item.
| |
Open(String) |
Returns an initialized read-only non-seekable stream to read the decompressed data of the current item.
| |
Rename |
Renames the current item.
| |
ToString |
Returns a System.String that represents the current item.
(Overrides Object..::..ToString()()()().) |
Properties
Name | Description | |
---|---|---|
CanExtract |
Returns true if the item can be extracted using Rebex ZIP for .NET component.
| |
Comment |
Gets or sets the comment of the item.
| |
CompressedLength |
Gets compressed file length.
| |
CompressionMethod |
Gets the compression method used to compress the file.
| |
Crc32 |
Gets the CRC32 (Cyclic Redundancy Check) value of the file (returns 0 for directories).
| |
CreationTime |
Gets or sets the creation time attribute of the item.
| |
EncryptionAlgorithm |
Gets the name of the algorithm used to encrypt the current ZipItem.
| |
IsDeleted |
Gets a value indicating whether the current ArchiveItem represents a deleted item.
| |
IsDirectory |
Gets a value indicating whether the item is a directory.
(Inherited from FileSystemItem.) | |
IsEmptyDirectory |
Gets a value indicating whether the ArchiveItem is an empty directory.
| |
IsEncrypted |
Gets a value indicating whether the current ZipItem is encrypted.
| |
IsFile |
Gets a value indicating whether the item is a file.
(Inherited from FileSystemItem.) | |
IsLink |
Gets a value indicating whether the item is a link.
(Overrides FileSystemItem..::..IsLink.) | |
IsRootDirectory |
Gets a value indicating whether the current ArchiveItem is the root directory of the archive.
| |
ItemType |
Gets the type of the item.
| |
LastAccessTime |
Gets or sets the last access time attribute of the item.
| |
LastWriteTime |
Gets or sets the last modification time attribute of the item.
| |
Length |
Gets uncompressed file length.
(Overrides FileSystemItem..::..Length.) | |
Name |
Gets the name of the file or directory.
(Inherited from FileSystemItem.) | |
Path |
Gets the path of the file or directory.
It can be relative or absolute path depending on the way of use.
(Inherited from FileSystemItem.) |