共用方式為


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

屬性值

適用於