UpdateBuildNumber.ExpandToken 方法 (String, String, IBuildDetail, DateTime, IBuildDefinition, Boolean)
命名空間: Microsoft.TeamFoundation.Build.Workflow.Activities
組件: Microsoft.TeamFoundation.Build.Workflow (在 Microsoft.TeamFoundation.Build.Workflow.dll 中)
語法
'宣告
Public Shared Function ExpandToken ( _
token As String, _
expandedPrefix As String, _
buildDetail As IBuildDetail, _
now As DateTime, _
buildDefinition As IBuildDefinition, _
designTime As Boolean _
) As String
public static string ExpandToken(
string token,
string expandedPrefix,
IBuildDetail buildDetail,
DateTime now,
IBuildDefinition buildDefinition,
bool designTime
)
參數
- token
型別:System.String
- expandedPrefix
型別:System.String
- buildDetail
型別:Microsoft.TeamFoundation.Build.Client.IBuildDetail
- now
型別:System.DateTime
- buildDefinition
型別:Microsoft.TeamFoundation.Build.Client.IBuildDefinition
- designTime
型別:System.Boolean
傳回值
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。