PathUtil.GetCommonPathPrefix Method
Namespace: Microsoft.Internal.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.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
- path1
Type: System.String
- path2
Type: System.String
Return Value
Type: System.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.