SwitchExpression.Cases Property

Gets the collection of SwitchCase objects for the switch.

Namespace:  System.Linq.Expressions
Assembly:  System.Core (in System.Core.dll)

public ReadOnlyCollection<SwitchCase> Cases { get; }

Property Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<SwitchCase>
The collection of SwitchCase objects.

Silverlight

Supported in: 5, 4

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show: