The ArchiveItem type exposes the following members.

Constructors

  NameDescription
Protected methodArchiveItem
Creates an instance of ArchiveItem class.

Methods

  NameDescription
Public methodDelete()()()()
Deletes the current file or empty directory item from the archive.
Public methodDelete(ArchiveSaveAction)
Deletes the current file or empty directory item from the archive.
Public methodDelete(ArchiveTraversalMode) Obsolete.
Public methodDelete(ArchiveTraversalMode, ArchiveSaveAction) Obsolete.
Public methodDelete(TraversalMode, ArchiveSaveAction)
Deletes the current item from the archive.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodExtractToArray
Extracts the current file item into a byte array.
Public methodExtractToDirectory(String)
Extracts the current item into the specified directory.
Public methodExtractToDirectory(String, ArchiveTraversalMode, ArchiveActionOnExistingFile) Obsolete.
Public methodExtractToDirectory(String, TraversalMode, ActionOnExistingFiles)
Extracts the current item into the specified local directory using the specified arguments.
Public methodExtractToFile
Extracts the current file item into a local file.
Public methodExtractToStream
Extracts the current file item to the specified stream.
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Protected methodGetCreationTime
Gets the creation time attribute of the item.
(Overrides FileSystemItem..::..GetCreationTime()()()().)
Public methodGetHashCode
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.)
Protected methodGetLastAccessTime
Gets the last access time attribute of the item.
(Overrides FileSystemItem..::..GetLastAccessTime()()()().)
Protected methodGetLastWriteTime
Gets the last modification time attribute of the item.
(Overrides FileSystemItem..::..GetLastWriteTime()()()().)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodOpen()()()()
Returns an initialized read-only non-seekable stream to read the decompressed data of the current item.
Public methodOpen(String)
Returns an initialized read-only non-seekable stream to read the decompressed data of the current item.
Public methodRename
Renames the current item.
Public methodToString
Returns a System.String that represents the current item.
(Overrides Object..::..ToString()()()().)

Properties

  NameDescription
Public propertyCanExtract
Returns true if the item can be extracted using Rebex ZIP for .NET component.
Public propertyComment
Gets or sets the comment of the item.
Public propertyCompressedLength
Gets compressed file length.
Public propertyCompressionMethod
Gets the compression method used to compress the file.
Public propertyCrc32
Gets the CRC32 (Cyclic Redundancy Check) value of the file (returns 0 for directories).
Public propertyCreationTime
Gets or sets the creation time attribute of the item.
Public propertyEncryptionAlgorithm
Gets the name of the algorithm used to encrypt the current ZipItem.
Public propertyIsDeleted
Gets a value indicating whether the current ArchiveItem represents a deleted item.
Public propertyIsDirectory
Gets a value indicating whether the item is a directory.
(Inherited from FileSystemItem.)
Public propertyIsEmptyDirectory
Gets a value indicating whether the ArchiveItem is an empty directory.
Public propertyIsEncrypted
Gets a value indicating whether the current ZipItem is encrypted.
Public propertyIsFile
Gets a value indicating whether the item is a file.
(Inherited from FileSystemItem.)
Public propertyIsLink
Gets a value indicating whether the item is a link.
(Overrides FileSystemItem..::..IsLink.)
Public propertyIsRootDirectory
Gets a value indicating whether the current ArchiveItem is the root directory of the archive.
Public propertyItemType
Gets the type of the item.
Public propertyLastAccessTime
Gets or sets the last access time attribute of the item.
Public propertyLastWriteTime
Gets or sets the last modification time attribute of the item.
Public propertyLength
Gets uncompressed file length.
(Overrides FileSystemItem..::..Length.)
Public propertyName
Gets the name of the file or directory.
(Inherited from FileSystemItem.)
Public propertyPath
Gets the path of the file or directory. It can be relative or absolute path depending on the way of use.
(Inherited from FileSystemItem.)

See Also