SwitchExpression.SwitchValue Property


Gets the test for the switch.

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

public Expression SwitchValue { get; }

Property Value

Type: System.Linq.Expressions.Expression

The Expression object representing the test for the switch.

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