Export (0) Print
Expand All

SwitchExpression.Cases Property

Gets the collection of SwitchCase objects for the switch.

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

public ReadOnlyCollection<SwitchCase> Cases { get; }

Property Value

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

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4

Portable Class Library

Supported in: Portable Class Library

Supported in: Windows Phone 8.1

Supported in: Windows Phone Silverlight 8.1

Supported in: Windows Phone Silverlight 8
Show:
© 2015 Microsoft