ExternalSourceDirectiveTriviaSyntax.WithLineStart(SyntaxToken) 方法

定义

返回此副本,其中 LineStart 属性已更改为指定值。 如果指定的值与当前值相同,则返回此实例。

public:
 Microsoft::CodeAnalysis::VisualBasic::Syntax::ExternalSourceDirectiveTriviaSyntax ^ WithLineStart(Microsoft::CodeAnalysis::SyntaxToken lineStart);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.ExternalSourceDirectiveTriviaSyntax WithLineStart (Microsoft.CodeAnalysis.SyntaxToken lineStart);
member this.WithLineStart : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.ExternalSourceDirectiveTriviaSyntax
Public Function WithLineStart (lineStart As SyntaxToken) As ExternalSourceDirectiveTriviaSyntax

参数

lineStart
SyntaxToken

返回

适用于