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
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin