Share via


UpdateBuildNumber.ExtractTokens Method

This method takes in a format string and returns a list of $(...) tokens.

Namespace:  Microsoft.TeamFoundation.Build.Workflow.Activities
Assembly:  Microsoft.TeamFoundation.Build.Workflow (in Microsoft.TeamFoundation.Build.Workflow.dll)

Syntax

'Declaration
Public Shared Function ExtractTokens ( _
    format As String _
) As List(Of String)
public static List<string> ExtractTokens(
    string format
)
public:
static List<String^>^ ExtractTokens(
    String^ format
)
static member ExtractTokens : 
        format:string -> List<string> 
public static function ExtractTokens(
    format : String
) : List<String>

Parameters

Return Value

Type: System.Collections.Generic.List<String>
A list of the tokens found in the format string, in the order of occurence but without repeating the same token again if it was already encountered.

.NET Framework Security

See Also

Reference

UpdateBuildNumber Class

Microsoft.TeamFoundation.Build.Workflow.Activities Namespace