TestValues Property
Collapse the table of content
Expand the table of content

SwitchCase.TestValues Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft