Class FLFile
Contains file or directory properties retrieved by a file system enumeration function.
public class FLFile
Remarks
Has implicit conversion to string (full path).
Can be used like foreach (var v in filesystem.list(directory).All) print.it(v, v.Name, v.IsDirectory);.
Namespace: Au.Types
Assembly: Au.dll
Inheritance
Constructors
| Name | Description |
|---|---|
| FLFile(in FLEntry) |
Properties
| Name | Description |
|---|---|
| Attributes | Attributes. |
| CreationTimeUtc | Time when the file was created. |
| Depth | Recursion depth, starting from 0. In other words - the number of |
| Extension | File name extension, like ".txt". Returns "" if no extension. |
| IsDirectory | Returns |
| IsLink | Returns |
| LastWriteTimeUtc | Last time data was written to the file. |
| Name | Filename. |
| NameSpan | Name as span.
Use when you avoid creating a new |
| Path | Full path. |
| RelativePath | Relative path. |
| RelativePathSpan | Relative path as span.
Use when you avoid creating a new |
| Size | File size. |
Methods
| Name | Description |
|---|---|
| ToString() | Returns full path. |
Operators
| Name | Description |
|---|---|
| implicit operator string(FLFile) | Implicit conversion to string. Returns full path. |