If

Metreos.Native.Conditional.If

Summary

If returns a true branch condition if the supplied expression evaluates to true, and returns false if the expression is false.

Usage

Usually the Value1 parameter is specified as a variable, or a C# snippet. The only requirement of the C# snippet be that it evaluate to a boolean expression. The following snippets are valid C# values for the Value1 parameter:

Example 16.1. Valid C# Statements for Value1


   1 == 1

   System.String.Compare("ONE", "one", true) == 0

   !myBoolVar

   System.Boolean.Parse("false")


Remarks

None.

Action Parameters
Parameter Name.NET TypeDefaultDescription
Value1 *System.BooleanBoolean expression to evaluate.

No Result Data

Branch Conditions 

true

No description.

false

No description.