共用方式為


NullableDirectiveTriviaSyntax.WithHashToken(SyntaxToken) 方法

定義

public Microsoft.CodeAnalysis.CSharp.Syntax.NullableDirectiveTriviaSyntax WithHashToken (Microsoft.CodeAnalysis.SyntaxToken hashToken);
override this.WithHashToken : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.NullableDirectiveTriviaSyntax
Public Function WithHashToken (hashToken As SyntaxToken) As NullableDirectiveTriviaSyntax

參數

hashToken
SyntaxToken

傳回

適用於