Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

BinaryExpression.Conversion Property

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

Namespace:  System.Linq.Expressions
Assemblies:   System.Linq.Expressions (in System.Linq.Expressions.dll)
  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.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Portable Class Library

Supported in: Portable Class Library

Supported in: Windows Phone 8.1

Supported in: Windows Phone Silverlight 8.1

Supported in: Windows Phone Silverlight 8
Show:
© 2015 Microsoft