共用方式為


CSharpSyntaxVisitor.VisitIfDirectiveTrivia(IfDirectiveTriviaSyntax) Method

Definition

Called when the visitor visits a IfDirectiveTriviaSyntax node.

public:
 virtual void VisitIfDirectiveTrivia(Microsoft::CodeAnalysis::CSharp::Syntax::IfDirectiveTriviaSyntax ^ node);
public virtual void VisitIfDirectiveTrivia (Microsoft.CodeAnalysis.CSharp.Syntax.IfDirectiveTriviaSyntax node);
abstract member VisitIfDirectiveTrivia : Microsoft.CodeAnalysis.CSharp.Syntax.IfDirectiveTriviaSyntax -> unit
override this.VisitIfDirectiveTrivia : Microsoft.CodeAnalysis.CSharp.Syntax.IfDirectiveTriviaSyntax -> unit
Public Overridable Sub VisitIfDirectiveTrivia (node As IfDirectiveTriviaSyntax)

Parameters

Applies to