GetDirectories(SearchOption) Method
Gets directories matching the specified filter and scope.
Namespace
Statiq.Common
Containing Type
IDirectory

Syntax

IEnumerable<IDirectory> GetDirectories(SearchOption searchOption = TopDirectoryOnly)

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<IDirectory> Directories matching the filter and scope.