SyntaxFactory.EndOfLine Metodo

Definizione

Overload

EndOfLine(String)

Crea un trivia con tipo EndOfLineTrivia contenente il testo specificato.

EndOfLine(String, Boolean)
Obsoleti.

EndOfLine(String)

Origine:
SyntaxFactory.cs
Origine:
SyntaxFactory.cs
Origine:
SyntaxFactory.cs
Origine:
SyntaxFactory.cs
Origine:
SyntaxFactory.cs
Origine:
SyntaxFactory.cs
Origine:
SyntaxFactory.cs
Origine:
SyntaxFactory.cs
Origine:
SyntaxFactory.cs
Origine:
SyntaxFactory.cs
Origine:
SyntaxFactory.cs
Origine:
SyntaxFactory.cs
Origine:
SyntaxFactory.cs
Origine:
SyntaxFactory.cs
Origine:
SyntaxFactory.cs
Origine:
SyntaxFactory.cs
Origine:
SyntaxFactory.cs
Origine:
SyntaxFactory.cs
Origine:
SyntaxFactory.cs
Origine:
SyntaxFactory.cs
Origine:
SyntaxFactory.cs
Origine:
SyntaxFactory.cs
Origine:
SyntaxFactory.cs

Crea un trivia con tipo EndOfLineTrivia contenente il testo specificato.

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

Parametri

text
String

Testo della fine della riga. Qualsiasi testo può essere specificato qui, ma solo i caratteri di ritorno a capo e feed di riga vengono riconosciuti dal parser come fine riga.

Restituisce

Si applica a

EndOfLine(String, Boolean)

Origine:
SyntaxFactory.cs
Origine:
SyntaxFactory.cs
Origine:
SyntaxFactory.cs
Origine:
SyntaxFactory.cs
Origine:
SyntaxFactory.cs
Origine:
SyntaxFactory.cs
Origine:
SyntaxFactory.cs
Origine:
SyntaxFactory.cs
Origine:
SyntaxFactory.cs
Origine:
SyntaxFactory.cs
Origine:
SyntaxFactory.cs
Origine:
SyntaxFactory.cs
Origine:
SyntaxFactory.cs
Origine:
SyntaxFactory.cs
Origine:
SyntaxFactory.cs
Origine:
SyntaxFactory.cs
Origine:
SyntaxFactory.cs
Origine:
SyntaxFactory.cs
Origine:
SyntaxFactory.cs
Origine:
SyntaxFactory.cs
Origine:
SyntaxFactory.cs
Origine:
SyntaxFactory.cs
Origine:
SyntaxFactory.cs

Attenzione

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

Parametri

text
String
elastic
Boolean

Restituisce

Attributi

Si applica a