共用方式為


CSharpSyntaxVisitor<TResult>.VisitNullableDirectiveTrivia 方法

定義

訪客造訪 NullableDirectiveTriviaSyntax 節點時呼叫。

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

參數

傳回

TResult

適用於