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
- sourceVersion
Type: System.String
- branch
Type: System.String%
- commit
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.