Bagikan melalui


UpdateBuildNumber.FormatStringToBuildNumber Method

Namespace:  Microsoft.TeamFoundation.Build.Workflow.Activities
Assembly:  Microsoft.TeamFoundation.Build.Workflow (in Microsoft.TeamFoundation.Build.Workflow.dll)

Syntax

'Declaration
Public Shared Function FormatStringToBuildNumber ( _
    format As String, _
    buildDetail As IBuildDetail, _
    buildDefinition As IBuildDefinition, _
    designTime As Boolean _
) As String
public static string FormatStringToBuildNumber(
    string format,
    IBuildDetail buildDetail,
    IBuildDefinition buildDefinition,
    bool designTime
)
public:
static String^ FormatStringToBuildNumber(
    String^ format, 
    IBuildDetail^ buildDetail, 
    IBuildDefinition^ buildDefinition, 
    bool designTime
)
static member FormatStringToBuildNumber : 
        format:string * 
        buildDetail:IBuildDetail * 
        buildDefinition:IBuildDefinition * 
        designTime:bool -> string 
public static function FormatStringToBuildNumber(
    format : String, 
    buildDetail : IBuildDetail, 
    buildDefinition : IBuildDefinition, 
    designTime : boolean
) : String

Parameters

Return Value

Type: System.String

.NET Framework Security

See Also

Reference

UpdateBuildNumber Class

Microsoft.TeamFoundation.Build.Workflow.Activities Namespace