Compartir a través de


ExternalSourceDirectiveTriviaSyntax.WithLineStart(SyntaxToken) Method

Definition

Returns a copy of this with the LineStart property changed to the specified value. Returns this instance if the specified value is the same as the current value.

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

Parameters

lineStart
SyntaxToken

Returns

Applies to