Expression.SwitchCase Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Creates a SwitchCase object to be used in a SwitchExpression object.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
| Name | Description | |
|---|---|---|
|
SwitchCase(Expression, IEnumerable(Of Expression)) | Creates a SwitchCase object to be used in a SwitchExpression object. |
|
SwitchCase(Expression, Expression()) | Creates a SwitchCase for use in a SwitchExpression. |
Show: