共用方式為


ElifDirectiveTriviaSyntax.WithCondition(ExpressionSyntax) Method

Definition

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

Parameters

condition
ExpressionSyntax

Returns

Applies to