Partager via


SyntaxFacts.AllowsLeadingImplicitLineContinuation(SyntaxToken) Method

Definition

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