共用方式為


DirectiveTriviaSyntax.WithHashToken(SyntaxToken) Method

Definition

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::DirectiveTriviaSyntax ^ WithHashToken(Microsoft::CodeAnalysis::SyntaxToken hashToken);
public Microsoft.CodeAnalysis.CSharp.Syntax.DirectiveTriviaSyntax WithHashToken (Microsoft.CodeAnalysis.SyntaxToken hashToken);
member this.WithHashToken : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.DirectiveTriviaSyntax
Public Function WithHashToken (hashToken As SyntaxToken) As DirectiveTriviaSyntax

Parameters

hashToken
SyntaxToken

Returns

Applies to