SwitchExpression Properties
Collapse the table of content
Expand the table of content

SwitchExpression Properties

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

The SwitchExpression type exposes the following members.

  NameDescription
Public property CanReduce Indicates that the node can be reduced to a simpler node. If this returns true, Reduce() can be called to produce the reduced form. (Inherited from Expression.)
Public property Cases Gets the collection of SwitchCase objects for the switch.
Public property Comparison Gets the equality comparison method, if any.
Public property DefaultBody Gets the test for the switch.
Public property NodeType Returns the node type of this Expression. Extension nodes should return Extension when overriding this method. (Overrides Expression.NodeType.)
Public property SwitchValue Gets the test for the switch.
Public property Type Gets the static type of the expression that this Expression represents. (Overrides Expression.Type.)
Top

Show:
© 2017 Microsoft