共用方式為


LineSpanDirectiveTriviaSyntax.WithLineKeyword(SyntaxToken) 方法

定義

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

參數

lineKeyword
SyntaxToken

傳回

適用於