Deployment Tools Foundation
ArchiveFileInfo Class
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.Compression ► ArchiveFileInfo
Abstract object representing a compressed file within an archive;
provides operations for getting the file properties and unpacking
the file.
Declaration Syntax
C# | Visual Basic | Visual C++ | F# |
[SerializableAttribute] public abstract class ArchiveFileInfo : FileSystemInfo
<SerializableAttribute> Public MustInherit Class ArchiveFileInfo Inherits FileSystemInfo
[SerializableAttribute] public ref class ArchiveFileInfo abstract : public FileSystemInfo
[<AbstractClassAttribute>] [<SerializableAttribute>] type ArchiveFileInfo = class inherit FileSystemInfo end
Members
All Members | Constructors | Methods | Properties | Fields | |
|
|
|
Icon | Member | Description |
---|---|---|
ArchiveFileInfo(ArchiveInfo, String) |
Creates a new ArchiveFileInfo object representing a file within
an archive in a specified path.
|
|
ArchiveFileInfo(String, Int32, FileAttributes, DateTime, Int64) |
Creates a new ArchiveFileInfo object with all parameters specified;
used by subclasses when reading the metadata out of an archive.
|
|
ArchiveFileInfo(SerializationInfo, StreamingContext) |
Initializes a new instance of the ArchiveFileInfo class with
serialized data.
|
|
Archive |
Gets or sets the archive that contains this file.
|
|
ArchiveName |
Gets the full path of the archive that contains this file.
|
|
ArchiveNumber |
Gets the number of the archive where this file starts.
|
|
Attributes |
Gets the attributes of the file.
|
|
CopyTo(String) |
Extracts the file.
|
|
CopyTo(String, Boolean) |
Extracts the file, optionally overwriting any existing file.
|
|
CreateObjRef(Type) | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.) |
|
CreationTime | Gets or sets the creation time of the current file or directory. (Inherited from FileSystemInfo.) |
|
CreationTimeUtc | Gets or sets the creation time, in coordinated universal time (UTC), of the current file or directory. (Inherited from FileSystemInfo.) |
|
Delete()()()() |
Deletes the file. NOT SUPPORTED.
(Overrides FileSystemInfo.Delete()()()().) |
|
Equals(Object) | (Inherited from Object.) |
|
Exists |
Checks if the file exists within the archive.
(Overrides FileSystemInfo.Exists.) |
|
Extension | Gets the string representing the extension part of the file. (Inherited from FileSystemInfo.) |
|
Finalize()()()() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
FullName |
Gets the full path to the file.
(Overrides FileSystemInfo.FullName.) |
|
FullPath | Represents the fully qualified path of the directory or file. (Inherited from FileSystemInfo.) |
|
GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetLifetimeService()()()() | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.) |
|
GetObjectData(SerializationInfo, StreamingContext) |
Sets the SerializationInfo with information about the archive.
(Overrides FileSystemInfo.GetObjectData(SerializationInfo, StreamingContext).) |
|
GetType()()()() | Gets the Type of the current instance. (Inherited from Object.) |
|
InitializeLifetimeService()()()() | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.) |
|
LastAccessTime | Gets or sets the time the current file or directory was last accessed. (Inherited from FileSystemInfo.) |
|
LastAccessTimeUtc | Gets or sets the time, in coordinated universal time (UTC), that the current file or directory was last accessed. (Inherited from FileSystemInfo.) |
|
LastWriteTime |
Gets the last modification time of the file.
|
|
LastWriteTimeUtc | Gets or sets the time, in coordinated universal time (UTC), when the current file or directory was last written to. (Inherited from FileSystemInfo.) |
|
Length |
Gets the uncompressed size of the file.
|
|
MemberwiseClone(Boolean) | Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject.) |
|
MemberwiseClone()()()() | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
Name |
Gets the name of the file.
(Overrides FileSystemInfo.Name.) |
|
OpenRead()()()() |
Opens the archive file for reading without actually extracting the
file to disk.
|
|
OpenText()()()() |
Opens the archive file reading text with UTF-8 encoding without
actually extracting the file to disk.
|
|
OriginalPath | The path originally specified by the user, whether relative or absolute. (Inherited from FileSystemInfo.) |
|
Path |
Gets the internal path of the file in the archive.
|
|
Refresh()()()() |
Refreshes the attributes and other cached information about the file,
by re-reading the information from the archive.
|
|
Refresh(ArchiveFileInfo) |
Refreshes the information in this object with new data retrieved
from an archive.
|
|
ToString()()()() |
Gets the full path to the file.
(Overrides Object.ToString()()()().) |
Inheritance Hierarchy
Object | ||||
MarshalByRefObject | ||||
FileSystemInfo | ||||
ArchiveFileInfo | ||||
CabFileInfo | ||||
ZipFileInfo |
Assembly: Microsoft.Deployment.Compression (Module: Microsoft.Deployment.Compression.dll) Version: 3.0.0.0 (3.11.1.2318)