BuildSourceProviders.GitProperties.ParseBranchAndPath Method
Namespace: Microsoft.TeamFoundation.Build.Common
Assembly: Microsoft.TeamFoundation.Build.Common (in Microsoft.TeamFoundation.Build.Common.dll)
Syntax
'Declaration
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
)
public:
static bool ParseBranchAndPath(
String^ branchAndPath,
IEnumerable<GitRef^>^ branches,
[OutAttribute] String^% branchName,
[OutAttribute] String^% path
)
static member ParseBranchAndPath :
branchAndPath:string *
branches:IEnumerable<GitRef> *
branchName:string byref *
path:string byref -> bool
public static function ParseBranchAndPath(
branchAndPath : String,
branches : IEnumerable<GitRef>,
branchName : String,
path : String
) : boolean
Parameters
- branchAndPath
Type: System.String
- branches
Type: System.Collections.Generic.IEnumerable<GitRef>
- branchName
Type: System.String%
- path
Type: System.String%
Return Value
Type: System.Boolean
Returns Boolean.
.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.