次の方法で共有


PathUtil.GetCommonPathPrefix Method

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

Syntax

'宣言
Public Shared Function GetCommonPathPrefix ( _
    path1 As String, _
    path2 As String _
) As String
public static string GetCommonPathPrefix(
    string path1,
    string path2
)

Parameters

Return Value

Type: System.String

.NET Framework Security

See Also

Reference

PathUtil Class

Microsoft.Internal.VisualStudio.Shell Namespace