次の方法で共有


IfDirectiveTriviaSyntax.WithCondition(ExpressionSyntax) メソッド

定義

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

パラメーター

condition
ExpressionSyntax

戻り値

適用対象