UpdateBuildNumber.ExpandToken Method (String, DateTime, IBuildDefinition)
Namespace: Microsoft.TeamFoundation.Build.Workflow.Activities
Assembly: Microsoft.TeamFoundation.Build.Workflow (in Microsoft.TeamFoundation.Build.Workflow.dll)
Syntax
'Declaration
Public Shared Function ExpandToken ( _
token As String, _
now As DateTime, _
buildDefinition As IBuildDefinition _
) As String
public static string ExpandToken(
string token,
DateTime now,
IBuildDefinition buildDefinition
)
public:
static String^ ExpandToken(
String^ token,
DateTime now,
IBuildDefinition^ buildDefinition
)
static member ExpandToken :
token:string *
now:DateTime *
buildDefinition:IBuildDefinition -> string
public static function ExpandToken(
token : String,
now : DateTime,
buildDefinition : IBuildDefinition
) : String
Parameters
- token
Type: System.String
- now
Type: System.DateTime
- buildDefinition
Type: Microsoft.TeamFoundation.Build.Client.IBuildDefinition
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