Native
Synchronous
No Custom Parameters
Switch creates a dynamically determined branch condition to indicate the value of a specified expression.
Switch will call System.Object.ToString() on the object passed in via SwitchOn, and branch on that evaluated string.
A common use case for Switch is to branch on a value that is a discrete set of values. In this scenario, the developer building the script can create a branch per known value. If the value is an open-ended set of values, then Switch most likely is not appropriate, since branch conditions must be explicitly declared when building scripts.
null should never be passed into SwitchOn.
| Parameter Name | .NET Type | Default | Description |
|---|---|---|---|
| SwitchOn * | System.Object | The value to invoke System.Object.ToString() on. Do not pass null into this parameter. |
No Result Data
No Defined Branch Conditions