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:
property ReadOnlyCollection<Expression^>^ TestValues {
	ReadOnlyCollection<Expression^>^ 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
Silverlight
Available since 4.0
Windows Phone Silverlight
Available since 8.0
Windows Phone
Available since 8.1
Return to top
Show: