共用方式為


CSharpSyntaxVisitor<TResult>.VisitUndefDirectiveTrivia Method

Definition

Called when the visitor visits a UndefDirectiveTriviaSyntax node.

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

Parameters

Returns

TResult

Applies to