共用方式為


CSharpSyntaxVisitor<TResult>.VisitReferenceDirectiveTrivia 方法

定義

當訪客造訪 ReferenceDirectiveTriviaSyntax 節點時呼叫。

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

參數

傳回

TResult

適用於