Method FindFileRecursiveInAppFolder
FindFileRecursiveInAppFolder(string, string?)
Returns the full file name that match a search pattern in the application folder. Searches in all subdirectories.
public static string? FindFileRecursiveInAppFolder(string searchPattern, string? appFolderOverride = null)
Parameters
searchPattern
stringThe 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. It doesn't support regular expressions.
appFolderOverride
stringPath to use instead of app folder. Optional.
Returns
- string
The full name (including path) for the first found file that match the specified search pattern. Returns
null
if no file was found.