Share via


IfStatementSyntax.Condition Property

Definition

Gets an ExpressionSyntax that represents the condition of the if statement.

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

Property Value

Applies to