UpdateBuildNumber.FormatStringToBuildNumber 方法
命名空間: Microsoft.TeamFoundation.Build.Workflow.Activities
組件: Microsoft.TeamFoundation.Build.Workflow (在 Microsoft.TeamFoundation.Build.Workflow.dll 中)
語法
'宣告
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
)
參數
- format
型別:System.String
- buildDetail
型別:Microsoft.TeamFoundation.Build.Client.IBuildDetail
- buildDefinition
型別:Microsoft.TeamFoundation.Build.Client.IBuildDefinition
- designTime
型別:System.Boolean
傳回值
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。