Expression.SwitchCase Method

Include Protected Members
Include Inherited Members

Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members

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.

Overload List

  Name Description
Public methodStatic member SwitchCase(Expression, IEnumerable<Expression>) Creates a SwitchCase object to be used in a SwitchExpression object.
Public methodStatic member SwitchCase(Expression, array<Expression[]) Creates a SwitchCase for use in a SwitchExpression.

Top