Gets the subdirectories of the given directory with the given search pattern and options.

Namespace: Composite.Core.IO
Assembly: Composite (in Composite.dll) Version: 6.1.6325.31818

Syntax

C#
public static string[] GetDirectories(
	string path,
	string searchPattern,
	SearchOption searchOption
)
Visual Basic
Public Shared Function GetDirectories ( _
	path As String, _
	searchPattern As String, _
	searchOption As SearchOption _
) As String()
Visual C++
public:
static array<String^>^ GetDirectories(
	String^ path, 
	String^ searchPattern, 
	SearchOption searchOption
)

Parameters

path
Type: System..::..String
Path to directory to get subdirectories.
searchPattern
Type: System..::..String
Search pattern to use.
searchOption
Type: System.IO..::..SearchOption
Search options to use.

Return Value

Subdirectories of the given directory with the given search parrern and options.

See Also