共用方式為


BuildSourceProviders.GitProperties.ParseBranchAndPath 方法

命名空間:  Microsoft.TeamFoundation.Build.Common
組件:  Microsoft.TeamFoundation.Build.Common (在 Microsoft.TeamFoundation.Build.Common.dll 中)

語法

'宣告
Public Shared Function ParseBranchAndPath ( _
    branchAndPath As String, _
    branches As IEnumerable(Of GitRef), _
    <OutAttribute> ByRef branchName As String, _
    <OutAttribute> ByRef path As String _
) As Boolean
public static bool ParseBranchAndPath(
    string branchAndPath,
    IEnumerable<GitRef> branches,
    out string branchName,
    out string path
)

參數

傳回值

類型:System.Boolean
傳回 Boolean

.NET Framework 安全性

請參閱

參考

BuildSourceProviders.GitProperties 類別

Microsoft.TeamFoundation.Build.Common 命名空間