PathUtil.GetCommonPathPrefix Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Namespace:  Microsoft.Internal.VisualStudio.Shell
Assemblies:   Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
Public Shared Function GetCommonPathPrefix ( _
    path1 As String, _
    path2 As String _
) As String
public static string GetCommonPathPrefix(
    string path1,
    string path2
)
public:
static String^ GetCommonPathPrefix(
    String^ path1, 
    String^ path2
)
static member GetCommonPathPrefix : 
        path1:string * 
        path2:string -> string
public static function GetCommonPathPrefix(
    path1 : String, 
    path2 : String
) : String

Parameters

Return Value

Type: System.String

.NET Framework Security

See Also

Reference

PathUtil Class

Microsoft.Internal.VisualStudio.Shell Namespace