VersionControlPath.GetCommonParent Method
Namespace: Microsoft.TeamFoundation.VersionControl.Common
Assembly: Microsoft.TeamFoundation.VersionControl.Common (in Microsoft.TeamFoundation.VersionControl.Common.dll)
Syntax
'Dichiarazione
Public Shared Function GetCommonParent ( _
path1 As String, _
path2 As String _
) As String
public static string GetCommonParent(
string path1,
string path2
)
public:
static String^ GetCommonParent(
String^ path1,
String^ path2
)
static member GetCommonParent :
path1:string *
path2:string -> string
public static function GetCommonParent(
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.