SwitchCase.TestValues Property


Gets the values of this case. This case is selected for execution when the SwitchValue matches any of these values.

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

public ReadOnlyCollection<Expression> TestValues { get; }

Property Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<Expression>

The read-only collection of the values for this case block.

Universal Windows Platform
Available since 8
.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Available since 4.0
Windows Phone Silverlight
Available since 8.0
Windows Phone
Available since 8.1
Return to top