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
format
Type: System.StringA format string.
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
- 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