Edit

ExpressionValue.TryParse<T>(String, ExpressionValue<T>) Method

Definition

Attempts to parse the specified string as an expression value.

public static bool TryParse<T>(string expression, out Microsoft.TeamFoundation.DistributedTask.Pipelines.ExpressionValue<T> value);
static member TryParse : string *  -> bool
Public Shared Function TryParse(Of T) (expression As String, ByRef value As ExpressionValue(Of T)) As Boolean

Type Parameters

T

The expected type of the expression result

Parameters

expression
String

The expression string

value
ExpressionValue<T>

The value which was parsed, if any

Returns

True if the value was successfully parsed; otherwise, false

Applies to