If C#

Evaluates the C#-styled expression in Expression and sets IsEqual to its result as well as firing either the True or False output for conditional execution.

Properties

Value

Type: Object
An input variable that will be used in an evaluation. This Node also supports Custom Properties.

Expression

Type: String
An expression in C# syntax (see below for details).

IsTrue

Type: Boolean
Set to True if Expression evaluates to true, otherwise False.

Remarks

Evaluates the expression in Expression and fires either the True or False output. The IsTrue property is also set to true or false.

The expression provided may reference the property Value and may also reference any Custom Properties added to the Node.

Expression should be a C#-styled expression. This syntax requires explicit handling of casting and potential null values. If you do not need precise control over casting and null handling, consider using If for a VB.Net-styled expression.

Examples

See Sample Workflow for examples.

See Also

If
Validate C#