ConditionalAccessExpressionSyntax.WhenNotNull 属性

定义

ExpressionSyntax 节点,表示在对象不为 null 时要执行的访问表达式。

public:
 property Microsoft::CodeAnalysis::CSharp::Syntax::ExpressionSyntax ^ WhenNotNull { Microsoft::CodeAnalysis::CSharp::Syntax::ExpressionSyntax ^ get(); };
public Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax WhenNotNull { get; }
member this.WhenNotNull : Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax
Public ReadOnly Property WhenNotNull As ExpressionSyntax

属性值

适用于