BinaryExpression.IsLiftedToNull Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a value that indicates whether the expression tree node represents a lifted call to an operator whose return type is lifted to a nullable type.
public:
property bool IsLiftedToNull { bool get(); };
public bool IsLiftedToNull { get; }
member this.IsLiftedToNull : bool
Public ReadOnly Property IsLiftedToNull As Boolean
Property Value
true
if the operator's return type is lifted to a nullable type; otherwise, false
.
Remarks
An operator call is lifted if the operator expects non-nullable operands but nullable operands are passed to it. If the value of IsLiftedToNull is true
, the operator returns a nullable type, and if a nullable operand evaluates to null
, the operator returns null
.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om