Determines the longest common root path between all provided items.
Namespace:  Microsoft.TeamFoundation.Build.Common
Assembly:  Microsoft.TeamFoundation.Build.Common (in Microsoft.TeamFoundation.Build.Common.dll)
Syntax
'Declaration
Public Shared Function GetCommonLocalPath ( _
    localItems As IEnumerable(Of String) _
) As String
public static string GetCommonLocalPath(
    IEnumerable<string> localItems
)
public:
static String^ GetCommonLocalPath(
    IEnumerable<String^>^ localItems
)
static member GetCommonLocalPath : 
        localItems:IEnumerable<string> -> string
public static function GetCommonLocalPath(
    localItems : IEnumerable<String>
) : String
Parameters
- localItems
 Type: System.Collections.Generic.IEnumerable<String>
Return Value
Type: System.String
The most common path or the empty string
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.