共用方式為


BuildSourceProviders.GitProperties.ParseGitPath Method

Namespace:  Microsoft.TeamFoundation.Build.Common
Assembly:  Microsoft.TeamFoundation.Build.Common (in Microsoft.TeamFoundation.Build.Common.dll)

Syntax

'Declaration
Public Shared Function ParseGitPath ( _
    gitFullPath As String, _
    <OutAttribute> ByRef projectName As String, _
    <OutAttribute> ByRef repositoryName As String, _
    <OutAttribute> ByRef branchAndPath As String _
) As Boolean
public static bool ParseGitPath(
    string gitFullPath,
    out string projectName,
    out string repositoryName,
    out string branchAndPath
)
public:
static bool ParseGitPath(
    String^ gitFullPath, 
    [OutAttribute] String^% projectName, 
    [OutAttribute] String^% repositoryName, 
    [OutAttribute] String^% branchAndPath
)
static member ParseGitPath : 
        gitFullPath:string * 
        projectName:string byref * 
        repositoryName:string byref * 
        branchAndPath:string byref -> bool
public static function ParseGitPath(
    gitFullPath : String, 
    projectName : String, 
    repositoryName : String, 
    branchAndPath : String
) : boolean

Parameters

Return Value

Type: System.Boolean
Returns Boolean.

.NET Framework Security

See Also

Reference

BuildSourceProviders.GitProperties Class

Microsoft.TeamFoundation.Build.Common Namespace