Interface IAbsolutePath
Represents an absolute path to a file or directory.
Inherited Members
Namespace: Singulink.IO
Assembly: Singulink.IO.FileSystem.dll
Syntax
[SuppressMessage("Design", "CA1065:Do not raise exceptions in unexpected locations", Justification = "Properties need to be overriden by implementing types")]
public interface IAbsolutePath : IPath, IEquatable<IPath?>
Properties
Name | Description |
---|---|
Attributes | Gets or sets the file/directory attributes. |
CreationTime | Gets or sets the file/directory's creation time as a local time. |
CreationTimeUtc | Gets or sets the file/directory's creation time in Coordinated Universal Time (UTC). |
Exists | Gets a value indicating whether the file/directory exists. |
IsUnc | Gets a value indicating whether this path is a UNC path. This can only ever return true for paths that use the Windows path format. |
LastAccessTime | Gets or sets the file/directory's last access time as a local time. |
LastAccessTimeUtc | Gets or sets the file/directory's last access time in Coordinated Universal Time (UTC). |
LastWriteTime | Gets or sets the file/directory's last write time as a local time. |
LastWriteTimeUtc | Gets or sets the file/directory's last write time in Coordinated Universal Time (UTC). |
ParentDirectory | Gets the parent directory of this file/directory. |
PathExport | Gets a path string that is specially formatted for reliably accessing this path through file system calls. |
RootDirectory | Gets the root directory of this file/directory. |
State | Gets the state of the file/directory entry, which indicates if the entry or its parent directory exists. |
Methods
Name | Description |
---|---|
GetInfo() | Gets information about this file/directory. |
GetLastExistingDirectory() | Gets the last directory in the path that exists. |
Explicit Interface Implementations
Name | Description |
---|---|
IPath.ParentDirectory | Gets the parent directory of this file/directory. |