ExpressionValue.TryParse<T>(String, ExpressionValue<T>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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