ToolLocationHelper.FindRootFolderWhereAllFilesExist(String, String) Method

Definition

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.

Applies to