SwitchExpression.Comparison Property


Gets the equality comparison method, if any.

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

public MethodInfo Comparison { get; }

Property Value

Type: System.Reflection.MethodInfo

The MethodInfo object representing the equality comparison method.

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