Cases Property

SwitchExpression.Cases Property

Gets the collection of SwitchCase objects for the switch.

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

Public ReadOnly Property Cases As ReadOnlyCollection(Of SwitchCase)

Property Value

Type: System.Collections.ObjectModel.ReadOnlyCollection(Of SwitchCase)
The collection of SwitchCase objects.


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

© 2015 Microsoft