Share via


SyntaxFactory.XmlTextNewLine Method

Definition

Overloads

XmlTextNewLine(String)

Creates the syntax representation of an xml newline token with a documentation comment exterior trivia at the end (continued documentation comment).

XmlTextNewLine(String, Boolean)

Creates the syntax representation of an xml newline token for xml documentation comments.

XmlTextNewLine(SyntaxTriviaList, String, String, SyntaxTriviaList)

Creates a token with kind XmlTextLiteralNewLineToken.

XmlTextNewLine(String)

Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs

Creates the syntax representation of an xml newline token with a documentation comment exterior trivia at the end (continued documentation comment).

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

Parameters

text
String

The raw text within the new line.

Returns

Applies to

XmlTextNewLine(String, Boolean)

Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs

Creates the syntax representation of an xml newline token for xml documentation comments.

public:
 static Microsoft::CodeAnalysis::SyntaxToken XmlTextNewLine(System::String ^ text, bool continueXmlDocumentationComment);
public static Microsoft.CodeAnalysis.SyntaxToken XmlTextNewLine (string text, bool continueXmlDocumentationComment);
static member XmlTextNewLine : string * bool -> Microsoft.CodeAnalysis.SyntaxToken
Public Shared Function XmlTextNewLine (text As String, continueXmlDocumentationComment As Boolean) As SyntaxToken

Parameters

text
String

The raw text within the new line.

continueXmlDocumentationComment
Boolean

If set to true, a documentation comment exterior token will be added to the trailing trivia of the new token.

Returns

Applies to

XmlTextNewLine(SyntaxTriviaList, String, String, SyntaxTriviaList)

Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs

Creates a token with kind XmlTextLiteralNewLineToken.

public:
 static Microsoft::CodeAnalysis::SyntaxToken XmlTextNewLine(Microsoft::CodeAnalysis::SyntaxTriviaList leading, System::String ^ text, System::String ^ value, Microsoft::CodeAnalysis::SyntaxTriviaList trailing);
public static Microsoft.CodeAnalysis.SyntaxToken XmlTextNewLine (Microsoft.CodeAnalysis.SyntaxTriviaList leading, string text, string value, Microsoft.CodeAnalysis.SyntaxTriviaList trailing);
static member XmlTextNewLine : Microsoft.CodeAnalysis.SyntaxTriviaList * string * string * Microsoft.CodeAnalysis.SyntaxTriviaList -> Microsoft.CodeAnalysis.SyntaxToken
Public Shared Function XmlTextNewLine (leading As SyntaxTriviaList, text As String, value As String, trailing As SyntaxTriviaList) As SyntaxToken

Parameters

leading
SyntaxTriviaList

A list of trivia immediately preceding the token.

text
String

The raw text of the literal.

value
String

The xml text new line value.

trailing
SyntaxTriviaList

A list of trivia immediately following the token.

Returns

Applies to