Summary
Gets files matching the specified filter and scope.
- Assembly
- Wyam
.Common .dll - Namespace
- Wyam
.Common .IO - Containing Type
- IDirectory
Syntax
IEnumerable<IFile> GetFiles(SearchOption searchOption = 0)
Parameters
Name | Type | Description |
---|---|---|
searchOption | SearchOption | Specifies whether the operation should include only the current directory or should include all subdirectories. |
Return Value
Type | Description |
---|---|
IEnumerable |
Files matching the specified filter and scope. |