Gets a file by combining it's path with the current directory's path.
The specified file path must be relative.
- Namespace
- Statiq
.Common - Containing Type
- IDirectory
Syntax
IFile GetFile(NormalizedPath path)
Parameters
| Name | Type | Description |
|---|---|---|
| path | NormalizedPath | The path of the file. |
Return Value
| Type | Description |
|---|---|
| IFile | The file. |