다음을 통해 공유


IfStatementSyntax.WithCondition(ExpressionSyntax) Method

Definition

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

Parameters

condition
ExpressionSyntax

Returns

Applies to