IOHelperGetFileNames Method
Returns a file list from the directory matching the given search pattern.
Namespace: Configuration.HelperAssembly: Configuration.Helper (in Configuration.Helper.dll) Version: 2.0.5
public static IList<string> GetFileNames(
string path,
string searchPattern
)
- path String
- The path of the directory.
- searchPattern String
- The search string to match against the names of files.
This parameter can contain a combination of valid literal path and wild-card (* and ?) characters,
but doesn't support regular expressions. The default pattern is "*", which returns all files.
IListStringA collection of type string.