The FileSystemItem type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| FileSystemItem | Creates an instance of FileSystemItem class. |
Methods
| Name | Description | |
|---|---|---|
| Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| GetCreationTime |
Gets the creation time of the item.
| |
| GetHashCode | 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.) | |
| GetLastAccessTime |
Gets the last access time of the item.
| |
| GetLastWriteTime |
Gets the last modification time of the item.
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ToString | Returns a String that represents the current Object. (Inherited from Object.) |
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.
|