VFileSystemInfo Class
Namespace: Rebex.IO
Assembly: Rebex.FileSystem.dll (version 7.0.9083)
Base class for both VFileInfo and VDirectoryInfo classes. This class provides properties and methods that are functionally similar to the standard .NET FileSystemInfo properties and methods.
Syntax
public abstract class VFileSystemInfo
Inherited Members
Constructors
Name | Description |
---|---|
VFileSystemInfo(String) | Initializes a new instance of the VFileSystemInfo. |
Fields
Name | Description |
---|---|
FullPath | Full path of the node. |
OriginalPath | Original path of the node.
|
Properties
Name | Description |
---|---|
Attributes | Gets or sets the attributes for the file or directory. |
CreationTime | Gets or sets the creation date and time for the file or directory. |
CreationTimeUtc | Gets or sets the creation date and time for the file or directory. The time is expressed in the UTC format. |
Exists | Method returns true when the file or directory exists; otherwise returns false. |
Extension | Gets the extension of the file. |
FullName | Gets the full path of the file. |
LastAccessTime | Gets or sets the last access date and time for the file or directory. |
LastAccessTimeUtc | Gets or sets the last access date and time for the file or directory. The time is expressed in the UTC format. |
LastWriteTime | Gets or sets the last write date and time for the file or directory. |
LastWriteTimeUtc | Gets or sets the last write date and time for the file or directory. The time is expressed in the UTC format. |
Name | Gets the name of the file or directory. |
Methods
Name | Description |
---|---|
Refresh() | Method tries to refresh values of properties in this instance. |
ToString() | Method returns the full path of the directory or file. |