Directory GetDirectories Method (String, String, SearchOption)Kentico 8.0 API Reference
Gets the names of the subdirectories (including their paths) that match the specified search pattern in the current directory, and optionally searches subdirectories.

Namespace: CMS.FileSystemStorage
Assembly: CMS.FileSystemStorage (in CMS.FileSystemStorage.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

path
Type: OnlineSystem String
Path to directory
searchPattern
Type: OnlineSystem String
Search pattern
searchOption
Type: CMS.IO SearchOption
Specifies whether to search the current directory, or the current directory and all subdirectories.

Return Value

Type:  OnlineString 
See Also