IfStatementSyntax.Condition 属性

定义

获取一个 ExpressionSyntax,表示 if 语句的条件。

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

属性值

适用于