FilePathEnumerateFiles(String, String, SearchOption, ActionException) Method
Returns an enumerable collection of file names that match a search pattern in a specified path, and optionally searches subdirectories.
Namespace: Gemstone.IOAssembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.171 -- Release Build+4f4d518944b843c059d40b523747cd410a7c216d
Gemstone.IO.FilePath.EnumerateFiles = function(path, searchPattern, searchOption, exceptionHandler);
- path String
- The relative or absolute path to the directory to search. This string is not case-sensitive.
- searchPattern String (Optional)
- The search string to match against the names of files in path. This parameter can contain a combination of valid literal path and wildcard (* and ?) characters, but doesn't support regular expressions.
- searchOption SearchOption (Optional)
- One of the enumeration values that specifies whether the search operation should include only the current directory or should include all subdirectories.
- exceptionHandler ActionException (Optional)
- Handles exceptions thrown during file enumeration.
IEnumerableStringAn enumerable collection of the full names (including paths) for the files in the directory specified by
path and that match the specified search pattern and option.