Share via


BuildSourceVersion.TryParseGit Method

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

Syntax

'Declaration
Public Shared Function TryParseGit ( _
    sourceVersion As String, _
    <OutAttribute> ByRef branch As String, _
    <OutAttribute> ByRef commit As String _
) As Boolean
public static bool TryParseGit(
    string sourceVersion,
    out string branch,
    out string commit
)
public:
static bool TryParseGit(
    String^ sourceVersion, 
    [OutAttribute] String^% branch, 
    [OutAttribute] String^% commit
)
static member TryParseGit : 
        sourceVersion:string * 
        branch:string byref * 
        commit:string byref -> bool
public static function TryParseGit(
    sourceVersion : String, 
    branch : String, 
    commit : String
) : boolean

Parameters

Return Value

Type: System.Boolean
Returns Boolean.

.NET Framework Security

See Also

Reference

BuildSourceVersion Class

Microsoft.TeamFoundation.Build.Common Namespace