共用方式為


CSharpSyntaxVisitor<TResult>.VisitIfDirectiveTrivia Method

Definition

Called when the visitor visits a IfDirectiveTriviaSyntax node.

public:
 virtual TResult VisitIfDirectiveTrivia(Microsoft::CodeAnalysis::CSharp::Syntax::IfDirectiveTriviaSyntax ^ node);
public virtual TResult VisitIfDirectiveTrivia (Microsoft.CodeAnalysis.CSharp.Syntax.IfDirectiveTriviaSyntax node);
public virtual TResult? VisitIfDirectiveTrivia (Microsoft.CodeAnalysis.CSharp.Syntax.IfDirectiveTriviaSyntax node);
abstract member VisitIfDirectiveTrivia : Microsoft.CodeAnalysis.CSharp.Syntax.IfDirectiveTriviaSyntax -> 'Result
override this.VisitIfDirectiveTrivia : Microsoft.CodeAnalysis.CSharp.Syntax.IfDirectiveTriviaSyntax -> 'Result
Public Overridable Function VisitIfDirectiveTrivia (node As IfDirectiveTriviaSyntax) As TResult

Parameters

Returns

TResult

Applies to