PathUtil::GetCommonPathPrefix Method (String^, String^)
Visual Studio 2015
Returns the longest leading string that is common to path1 and path2.Case is not considered in the comparison.
Assembly: Microsoft.VisualStudio.Utilities (in Microsoft.VisualStudio.Utilities.dll)
Return Value
Type: System::String^The longest common prefix, or the empty string if there is no common path.
Show: