Click or drag to resize

FilePathGetFileList Method

Gets a list of files under the specified path. Search wildcard pattern (c:\Data\*.dat) can be used for including only the files matching the pattern or path wildcard pattern (c:\Data\*\*.dat) to indicate the inclusion of files under all subdirectories in the list.

Namespace: GSF.IO
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.254-beta+b1c32a8191971a5ec09744a3eb270cb5508e892c
Syntax
public static string[] GetFileList(
	string path,
	Action<Exception> exceptionHandler = null
)
View Source

Parameters

path  String
The path for which a list of files is to be returned.
exceptionHandler  ActionException  (Optional)
Handles exceptions thrown during file enumeration.

Return Value

String
A list of files under the given path.
See Also