BuildPath.Combine Method
Combines two path segments into one canonicalized path.
Namespace: Microsoft.TeamFoundation.Build.Common
Assembly: Microsoft.TeamFoundation.Build.Common (in Microsoft.TeamFoundation.Build.Common.dll)
Syntax
'Declaration
Public Shared Function Combine ( _
parent As String, _
relative As String _
) As String
public static string Combine(
string parent,
string relative
)
public:
static String^ Combine(
String^ parent,
String^ relative
)
static member Combine :
parent:string *
relative:string -> string
public static function Combine(
parent : String,
relative : String
) : String
Parameters
parent
Type: System.StringThe parent section of the path.
relative
Type: System.StringThe child section of the path.
Return Value
Type: System.String
A string representing the combination of relative and parent.
.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.