The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
Expression::SwitchCase Method
.NET Framework (current version)
Creates a SwitchCase object to be used in a SwitchExpression object.
Assembly: System.Core (in System.Core.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | SwitchCase(Expression^, array<Expression^>^) | Creates a SwitchCase for use in a SwitchExpression. |
![]() ![]() | SwitchCase(Expression^, IEnumerable<Expression^>^) | Creates a SwitchCase object to be used in a SwitchExpression object. |
Show:

