共用方式為


SyntaxFactory.XmlText Method

Definition

Overloads

XmlText()

Creates a new XmlTextSyntax instance.

XmlText(SyntaxToken[])

Generates the syntax representation of a xml text node (e.g. for xml documentation comments).

XmlText(SyntaxTokenList)

Creates a new XmlTextSyntax instance.

XmlText(String)

Generates the syntax representation of a xml text node (e.g. for xml documentation comments).

XmlText()

Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs

Creates a new XmlTextSyntax instance.

public:
 static Microsoft::CodeAnalysis::CSharp::Syntax::XmlTextSyntax ^ XmlText();
public static Microsoft.CodeAnalysis.CSharp.Syntax.XmlTextSyntax XmlText ();
static member XmlText : unit -> Microsoft.CodeAnalysis.CSharp.Syntax.XmlTextSyntax
Public Shared Function XmlText () As XmlTextSyntax

Returns

Applies to

XmlText(SyntaxToken[])

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 a xml text node (e.g. for xml documentation comments).

public:
 static Microsoft::CodeAnalysis::CSharp::Syntax::XmlTextSyntax ^ XmlText(... cli::array <Microsoft::CodeAnalysis::SyntaxToken> ^ textTokens);
public static Microsoft.CodeAnalysis.CSharp.Syntax.XmlTextSyntax XmlText (params Microsoft.CodeAnalysis.SyntaxToken[] textTokens);
static member XmlText : Microsoft.CodeAnalysis.SyntaxToken[] -> Microsoft.CodeAnalysis.CSharp.Syntax.XmlTextSyntax
Public Shared Function XmlText (ParamArray textTokens As SyntaxToken()) As XmlTextSyntax

Parameters

textTokens
SyntaxToken[]

A list of text tokens used as the text of the xml text node.

Returns

Applies to

XmlText(SyntaxTokenList)

Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs

Creates a new XmlTextSyntax instance.

public:
 static Microsoft::CodeAnalysis::CSharp::Syntax::XmlTextSyntax ^ XmlText(Microsoft::CodeAnalysis::SyntaxTokenList textTokens);
public static Microsoft.CodeAnalysis.CSharp.Syntax.XmlTextSyntax XmlText (Microsoft.CodeAnalysis.SyntaxTokenList textTokens);
static member XmlText : Microsoft.CodeAnalysis.SyntaxTokenList -> Microsoft.CodeAnalysis.CSharp.Syntax.XmlTextSyntax
Public Shared Function XmlText (textTokens As SyntaxTokenList) As XmlTextSyntax

Parameters

textTokens
SyntaxTokenList

Returns

Applies to

XmlText(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

Generates the syntax representation of a xml text node (e.g. for xml documentation comments).

public:
 static Microsoft::CodeAnalysis::CSharp::Syntax::XmlTextSyntax ^ XmlText(System::String ^ value);
public static Microsoft.CodeAnalysis.CSharp.Syntax.XmlTextSyntax XmlText (string value);
static member XmlText : string -> Microsoft.CodeAnalysis.CSharp.Syntax.XmlTextSyntax
Public Shared Function XmlText (value As String) As XmlTextSyntax

Parameters

value
String

The string literal used as the text of the xml text node.

Returns

Applies to