Click or drag to resize
AbstractDirectoryGetDirectories Method (String, String, SearchOption)
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.IO
Assembly: CMS.IO (in CMS.IO.dll) Version: 8.2.23
Syntax
C#
public abstract string[] GetDirectories(
	string path,
	string searchPattern,
	SearchOption searchOption
)

Parameters

path
Type: SystemString
Path to directory
searchPattern
Type: SystemString
Search pattern
searchOption
Type: CMS.IOSearchOption
One of the enumeration values that specifies whether the search operation should include all subdirectories or only the current directory.

Return Value

Type: String
See Also