SyntaxFacts.AllowsLeadingImplicitLineContinuation(SyntaxToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Indicates whether a newline may validly precede the specified SyntaxToken without requiring an explicit line continuation sequence ' _' or terminating the containing statement.
public:
static bool AllowsLeadingImplicitLineContinuation(Microsoft::CodeAnalysis::SyntaxToken token);
public static bool AllowsLeadingImplicitLineContinuation (Microsoft.CodeAnalysis.SyntaxToken token);
static member AllowsLeadingImplicitLineContinuation : Microsoft.CodeAnalysis.SyntaxToken -> bool
Public Shared Function AllowsLeadingImplicitLineContinuation (token As SyntaxToken) As Boolean
Parameters
- token
- SyntaxToken
The token to test. This token must be parented by a SyntaxNode.
Returns
True if implicit line continuation is allowed after token.
Remarks
Refer to "Statements in Visual Basic", 2010 version, http://msdn.microsoft.com/en-us/library/865x40k4(v=vs.100).aspx for examples.
Implicit line continuation may be used in Visual Basic:
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈