次の方法で共有


LineOrSpanDirectiveTriviaSyntax.WithHashToken(SyntaxToken) Method

Definition

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

Parameters

hashToken
SyntaxToken

Returns

Applies to