共用方式為


SyntaxFactory.LiteralExpression 方法

定義

多載

LiteralExpression(SyntaxKind)

建立新的 LiteralExpressionSyntax 實例。

LiteralExpression(SyntaxKind, SyntaxToken)

建立新的 LiteralExpressionSyntax 實例。

LiteralExpression(SyntaxKind)

來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
LiteralExpressionSyntax.cs
來源:
LiteralExpressionSyntax.cs
來源:
LiteralExpressionSyntax.cs
來源:
LiteralExpressionSyntax.cs
來源:
LiteralExpressionSyntax.cs
來源:
LiteralExpressionSyntax.cs
來源:
LiteralExpressionSyntax.cs
來源:
LiteralExpressionSyntax.cs

建立新的 LiteralExpressionSyntax 實例。

public:
 static Microsoft::CodeAnalysis::CSharp::Syntax::LiteralExpressionSyntax ^ LiteralExpression(Microsoft::CodeAnalysis::CSharp::SyntaxKind kind);
public static Microsoft.CodeAnalysis.CSharp.Syntax.LiteralExpressionSyntax LiteralExpression (Microsoft.CodeAnalysis.CSharp.SyntaxKind kind);
static member LiteralExpression : Microsoft.CodeAnalysis.CSharp.SyntaxKind -> Microsoft.CodeAnalysis.CSharp.Syntax.LiteralExpressionSyntax
Public Shared Function LiteralExpression (kind As SyntaxKind) As LiteralExpressionSyntax

參數

kind
SyntaxKind

傳回

適用於

LiteralExpression(SyntaxKind, SyntaxToken)

來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs

建立新的 LiteralExpressionSyntax 實例。

public:
 static Microsoft::CodeAnalysis::CSharp::Syntax::LiteralExpressionSyntax ^ LiteralExpression(Microsoft::CodeAnalysis::CSharp::SyntaxKind kind, Microsoft::CodeAnalysis::SyntaxToken token);
public static Microsoft.CodeAnalysis.CSharp.Syntax.LiteralExpressionSyntax LiteralExpression (Microsoft.CodeAnalysis.CSharp.SyntaxKind kind, Microsoft.CodeAnalysis.SyntaxToken token);
static member LiteralExpression : Microsoft.CodeAnalysis.CSharp.SyntaxKind * Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.LiteralExpressionSyntax
Public Shared Function LiteralExpression (kind As SyntaxKind, token As SyntaxToken) As LiteralExpressionSyntax

參數

kind
SyntaxKind
token
SyntaxToken

傳回

適用於