BinaryExpression.Conversion Property

 

Gets the type conversion function that is used by a coalescing or compound assignment operation.

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

public LambdaExpression Conversion { get; }

Property Value

Type: System.Linq.Expressions.LambdaExpression

A LambdaExpression that represents a type conversion function.

The Conversion property is null for any BinaryExpression whose NodeType property is not Coalesce.

Universal Windows Platform
Available since 8
.NET Framework
Available since 3.5
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Return to top
Show: