共用方式為


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

Return Value

Type: System.String
Returns String.

.NET Framework Security

See Also

Reference

BuildSourceVersion Class

Microsoft.TeamFoundation.Build.Common Namespace