다음을 통해 공유


SyntaxFactory.XmlTextLiteral Method

Definition

Overloads

XmlTextLiteral(String)

Generates the syntax representation of an xml text literal.

XmlTextLiteral(String, String)

Generates the syntax representation of an xml text literal.

XmlTextLiteral(SyntaxTriviaList, String, String, SyntaxTriviaList)

Creates a token with kind XmlTextLiteralToken.

XmlTextLiteral(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
Source:
SyntaxFactory.cs

Generates the syntax representation of an xml text literal.

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

Parameters

value
String

The text used within the xml text literal.

Returns

Applies to

XmlTextLiteral(String, 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
Source:
SyntaxFactory.cs

Generates the syntax representation of an xml text literal.

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

Parameters

text
String

The raw text of the literal.

value
String

The text used within the xml text literal.

Returns

Applies to

XmlTextLiteral(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
Source:
SyntaxFactory.cs

Creates a token with kind XmlTextLiteralToken.

public:
 static Microsoft::CodeAnalysis::SyntaxToken XmlTextLiteral(Microsoft::CodeAnalysis::SyntaxTriviaList leading, System::String ^ text, System::String ^ value, Microsoft::CodeAnalysis::SyntaxTriviaList trailing);
public static Microsoft.CodeAnalysis.SyntaxToken XmlTextLiteral (Microsoft.CodeAnalysis.SyntaxTriviaList leading, string text, string value, Microsoft.CodeAnalysis.SyntaxTriviaList trailing);
static member XmlTextLiteral : Microsoft.CodeAnalysis.SyntaxTriviaList * string * string * Microsoft.CodeAnalysis.SyntaxTriviaList -> Microsoft.CodeAnalysis.SyntaxToken
Public Shared Function XmlTextLiteral (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 value.

trailing
SyntaxTriviaList

A list of trivia immediately following the token.

Returns

Applies to