Partager via


IfStatementSyntax.WithCondition(ExpressionSyntax) Méthode

Définition

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::IfStatementSyntax ^ WithCondition(Microsoft::CodeAnalysis::CSharp::Syntax::ExpressionSyntax ^ condition);
public Microsoft.CodeAnalysis.CSharp.Syntax.IfStatementSyntax WithCondition (Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax condition);
member this.WithCondition : Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.IfStatementSyntax
Public Function WithCondition (condition As ExpressionSyntax) As IfStatementSyntax

Paramètres

condition
ExpressionSyntax

Retours

S’applique à