FileSystemItem Class
Namespace: Rebex.IO
Assembly: Rebex.Common.dll (version 7.0.9448)
Represents a file or directory item.
Syntax
public abstract class FileSystemItem
Inherited Members
Properties
| Name | Description |
|---|---|
| CreationTime | Gets the creation time of the item. |
| IsDirectory | Gets a value indicating whether the item is a directory. |
| IsFile | Gets a value indicating whether the item is a file. |
| IsLink | Gets a value indicating whether the item is a link. |
| LastAccessTime | Gets the last access time of the item. |
| LastWriteTime | Gets the last modification time of the item. |
| Length | Gets file length. |
| Name | Gets the name of the file or directory. |
| Path | Gets the path of the file or directory. It can be relative or absolute path depending on the way of use. |
Methods
| Name | Description |
|---|---|
| GetCreationTime() | Gets the creation time of the item. |
| GetLastAccessTime() | Gets the last access time of the item. |
| GetLastWriteTime() | Gets the last modification time of the item. |