共用方式為


NullableDirectiveTriviaSyntax.WithTargetToken(SyntaxToken) 方法

定義

public Microsoft.CodeAnalysis.CSharp.Syntax.NullableDirectiveTriviaSyntax WithTargetToken (Microsoft.CodeAnalysis.SyntaxToken targetToken);
member this.WithTargetToken : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.NullableDirectiveTriviaSyntax
Public Function WithTargetToken (targetToken As SyntaxToken) As NullableDirectiveTriviaSyntax

參數

targetToken
SyntaxToken

傳回

適用於