ToolLocationHelper.FindRootFolderWhereAllFilesExist(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Finds first folder in the list which contains all given files. Returns an empty string if not found.
public:
static System::String ^ FindRootFolderWhereAllFilesExist(System::String ^ possibleRoots, System::String ^ relativeFilePaths);
public static string FindRootFolderWhereAllFilesExist (string possibleRoots, string relativeFilePaths);
static member FindRootFolderWhereAllFilesExist : string * string -> string
Public Shared Function FindRootFolderWhereAllFilesExist (possibleRoots As String, relativeFilePaths As String) As String
Parameters
- possibleRoots
- String
Root folders separated by ';'
- relativeFilePaths
- String
Relative file paths to find under root folders, separated by ';'.
Returns
The first root folder in the given list, which contains all files. Empty string if not found.