共用方式為


BuildContainerPath.Combine Method

Combines 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 ( _
    ParamArray pathParts As String() _
) As String
public static string Combine(
    params string[] pathParts
)
public:
static String^ Combine(
    ... array<String^>^ pathParts
)
static member Combine : 
        pathParts:string[] -> string
public static function Combine(
    ... pathParts : String[]
) : String

Parameters

Return Value

Type: System.String
A string representing the combination of relative and parent

.NET Framework Security

See Also

Reference

BuildContainerPath Class

Microsoft.TeamFoundation.Build.Common Namespace