共用方式為


SyntaxFacts.IsTrivia(SyntaxKind) Method

Definition

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

Parameters

kind
SyntaxKind

Returns

Applies to