 | ConditionParserParseExpression Method (String) |
Namespace:
NLog.Conditions
Assembly:
NLog (in NLog.dll) Version: 5.5.0+1873145cbc26e0312d9481234d69ce7dc68aac4e
Syntaxpublic static ConditionExpression ParseExpression(
string expressionText
)
Public Shared Function ParseExpression (
expressionText As String
) As ConditionExpression
Dim expressionText As String
Dim returnValue As ConditionExpression
returnValue = ConditionParser.ParseExpression(expressionText)
static member ParseExpression :
expressionText : string -> ConditionExpression
Parameters
- expressionText
- Type: SystemString
The expression to be parsed.
Return Value
Type:
ConditionExpressionThe root of the expression syntax tree which can be used to get the value of the condition in a specified context.
See Also