Partilhar via


SyntaxFacts.IsLiteralExpression(SyntaxKind) Method

Definition

public:
 static bool IsLiteralExpression(Microsoft::CodeAnalysis::CSharp::SyntaxKind token);
public static bool IsLiteralExpression (Microsoft.CodeAnalysis.CSharp.SyntaxKind token);
static member IsLiteralExpression : Microsoft.CodeAnalysis.CSharp.SyntaxKind -> bool
Public Function IsLiteralExpression (token As SyntaxKind) As Boolean

Parameters

token
SyntaxKind

Returns

Applies to