共用方式為


LineOrSpanDirectiveTriviaSyntax.WithLineKeyword(SyntaxToken) Method

Definition

public Microsoft.CodeAnalysis.CSharp.Syntax.LineOrSpanDirectiveTriviaSyntax WithLineKeyword (Microsoft.CodeAnalysis.SyntaxToken lineKeyword);
member this.WithLineKeyword : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.LineOrSpanDirectiveTriviaSyntax
Public Function WithLineKeyword (lineKeyword As SyntaxToken) As LineOrSpanDirectiveTriviaSyntax

Parameters

lineKeyword
SyntaxToken

Returns

Applies to