Expression::Switch Method
Creates a SwitchExpression that represents a switch statement.
Assembly: System.Core (in System.Core.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | Switch(Expression^, Expression^, MethodInfo^, IEnumerable<SwitchCase^>^) | Creates a SwitchExpression that represents a switch statement that has a default case. |
![]() ![]() | Switch(Expression^, Expression^, MethodInfo^, array<SwitchCase^>^) | Creates a SwitchExpression that represents a switch statement that has a default case. |
![]() ![]() | Switch(Expression^, Expression^, array<SwitchCase^>^) | Creates a SwitchExpression that represents a switch statement that has a default case. |
![]() ![]() | Switch(Expression^, array<SwitchCase^>^) | Creates a SwitchExpression that represents a switch statement without a default case. |
![]() ![]() | Switch(Type^, Expression^, Expression^, MethodInfo^, IEnumerable<SwitchCase^>^) | Creates a SwitchExpression that represents a switch statement that has a default case. |
![]() ![]() | Switch(Type^, Expression^, Expression^, MethodInfo^, array<SwitchCase^>^) | Creates a SwitchExpression that represents a switch statement that has a default case.. |

