This method takes in a token of the form $(...) and returns the value that the token expands to.
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, _
    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- A token of the form $(...). 
- expandedPrefix 
 Type: System.String- The expanded format String occuring before the token. This is important only for the $(rev:.rr) and $(rev:.rrrr) tokens. 
- 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
Value of the token.
.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