UpdateBuildNumber.ExpandToken Method (String, String, IBuildDetail, DateTime, IBuildDefinition, Boolean)
Namespace: Microsoft.TeamFoundation.Build.Workflow.Activities
Assembly: Microsoft.TeamFoundation.Build.Workflow (in Microsoft.TeamFoundation.Build.Workflow.dll)
Syntax
'Декларация
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
)
public:
static String^ ExpandToken(
String^ token,
String^ expandedPrefix,
IBuildDetail^ buildDetail,
DateTime now,
IBuildDefinition^ buildDefinition,
bool designTime
)
static member ExpandToken :
token:string *
expandedPrefix:string *
buildDetail:IBuildDetail *
now:DateTime *
buildDefinition:IBuildDefinition *
designTime:bool -> string
public static function ExpandToken(
token : String,
expandedPrefix : String,
buildDetail : IBuildDetail,
now : DateTime,
buildDefinition : IBuildDefinition,
designTime : boolean
) : String
Parameters
- token
Type: System.String
- expandedPrefix
Type: System.String
- buildDetail
Type: Microsoft.TeamFoundation.Build.Client.IBuildDetail
- now
Type: System.DateTime
- buildDefinition
Type: Microsoft.TeamFoundation.Build.Client.IBuildDefinition
- designTime
Type: System.Boolean
Return Value
Type: System.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.
See Also
Reference
Microsoft.TeamFoundation.Build.Workflow.Activities Namespace