Expression.SwitchCase Method (Expression, Expression())
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Creates a SwitchCase for use in a SwitchExpression.
Assembly: System.Core (in System.Core.dll)
'Declaration Public Shared Function SwitchCase ( _ body As Expression, _ ParamArray testValues As Expression() _ ) As SwitchCase
Parameters
- body
- Type: System.Linq.Expressions.Expression
The body of the case.
- testValues
- Type:
System.Linq.Expressions.Expression
()
The test values of the case.
Show: