Partager via


SyntaxFactory.EndOfLine Méthode

Définition

Surcharges

EndOfLine(String)

Crée une trivia avec le type EndOfLineTrivia contenant le texte spécifié.

EndOfLine(String, Boolean)
Obsolète.

EndOfLine(String)

Source:
SyntaxFactory.vb
Source:
SyntaxFactory.vb
Source:
SyntaxFactory.vb
Source:
SyntaxFactory.vb
Source:
SyntaxFactory.vb
Source:
SyntaxFactory.vb
Source:
SyntaxFactory.vb
Source:
SyntaxFactory.vb
Source:
SyntaxFactory.vb
Source:
SyntaxFactory.vb
Source:
SyntaxFactory.vb
Source:
SyntaxFactory.vb
Source:
SyntaxFactory.vb
Source:
SyntaxFactory.vb
Source:
SyntaxFactory.vb
Source:
SyntaxFactory.vb
Source:
SyntaxFactory.vb
Source:
SyntaxFactory.vb
Source:
SyntaxFactory.vb
Source:
SyntaxFactory.vb
Source:
SyntaxFactory.vb
Source:
SyntaxFactory.vb
Source:
SyntaxFactory.vb
Source:
SyntaxFactory.vb

Crée une trivia avec le type EndOfLineTrivia contenant le texte spécifié.

public:
 static Microsoft::CodeAnalysis::SyntaxTrivia EndOfLine(System::String ^ text);
public static Microsoft.CodeAnalysis.SyntaxTrivia EndOfLine (string text);
static member EndOfLine : string -> Microsoft.CodeAnalysis.SyntaxTrivia
Public Shared Function EndOfLine (text As String) As SyntaxTrivia

Paramètres

text
String

Texte de la fin de ligne. N’importe quel texte peut être spécifié ici, mais seul le retour chariot et les caractères de saut de ligne sont reconnus par l’analyseur comme fin de ligne.

Retours

S’applique à

EndOfLine(String, Boolean)

Source:
SyntaxFactory.vb
Source:
SyntaxFactory.vb
Source:
SyntaxFactory.vb
Source:
SyntaxFactory.vb
Source:
SyntaxFactory.vb
Source:
SyntaxFactory.vb
Source:
SyntaxFactory.vb
Source:
SyntaxFactory.vb
Source:
SyntaxFactory.vb
Source:
SyntaxFactory.vb
Source:
SyntaxFactory.vb
Source:
SyntaxFactory.vb
Source:
SyntaxFactory.vb
Source:
SyntaxFactory.vb
Source:
SyntaxFactory.vb
Source:
SyntaxFactory.vb
Source:
SyntaxFactory.vb
Source:
SyntaxFactory.vb
Source:
SyntaxFactory.vb
Source:
SyntaxFactory.vb
Source:
SyntaxFactory.vb
Source:
SyntaxFactory.vb
Source:
SyntaxFactory.vb
Source:
SyntaxFactory.vb

Attention

Use SyntaxFactory.EndOfLine or SyntaxFactory.ElasticEndOfLine

public:
 static Microsoft::CodeAnalysis::SyntaxTrivia EndOfLine(System::String ^ text, bool elastic);
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[System.Obsolete("Use SyntaxFactory.EndOfLine or SyntaxFactory.ElasticEndOfLine")]
public static Microsoft.CodeAnalysis.SyntaxTrivia EndOfLine (string text, bool elastic);
[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]
[<System.Obsolete("Use SyntaxFactory.EndOfLine or SyntaxFactory.ElasticEndOfLine")>]
static member EndOfLine : string * bool -> Microsoft.CodeAnalysis.SyntaxTrivia
Public Shared Function EndOfLine (text As String, elastic As Boolean) As SyntaxTrivia

Paramètres

text
String
elastic
Boolean

Retours

Attributs

S’applique à