BuildSourceVersion.FormatGit Method
Namespace: Microsoft.TeamFoundation.Build.Common
Assembly: Microsoft.TeamFoundation.Build.Common (in Microsoft.TeamFoundation.Build.Common.dll)
Syntax
'Declaration
Public Shared Function FormatGit ( _
branch As String, _
commit As String _
) As String
public static string FormatGit(
string branch,
string commit
)
public:
static String^ FormatGit(
String^ branch,
String^ commit
)
static member FormatGit :
branch:string *
commit:string -> string
public static function FormatGit(
branch : String,
commit : String
) : String
Parameters
- branch
Type: System.String
- commit
Type: System.String
Return Value
Type: System.String
Returns String.
.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.