Click or drag to resize

VirtualDirectoryGetDirectories Method (String, String)

Gets an array of directories matching the specified search pattern from the current directory.

Namespace:  NeoAxis
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public static string[] GetDirectories(
	string path,
	string searchPattern
)

Parameters

path
Type: SystemString
The path to search.
searchPattern
Type: SystemString
The search string to match against the names of files in path. The parameter cannot end in two periods ("..") or contain two periods ("..") followed by DirectorySeparatorChar or AltDirectorySeparatorChar, nor can it contain any of the characters in InvalidPathChars.

Return Value

Type: String
A String array of directories matching the search pattern.
See Also