Summary
Gets the length of the file.
- Namespace
- Cake
.Core .IO - Containing Type
- IFile
Syntax
long Length { get; }
Examples
var file = context.FileSystem.GetFile("./README.md");
Information("{0} ({1} bytes)", file.Path, file.Length);
Value
| Type | Description |
|---|---|
| long | The length of the file. |
