Partager via


SyntaxFacts.IsTrivia(SyntaxKind) Method

Definition

Determine if the token instance represents a syntax trivia such as comment, whitespace, etc...

public:
 static bool IsTrivia(Microsoft::CodeAnalysis::VisualBasic::SyntaxKind this);
public static bool IsTrivia (Microsoft.CodeAnalysis.VisualBasic.SyntaxKind this);
static member IsTrivia :  -> bool
Public Shared Function IsTrivia (this As SyntaxKind) As Boolean

Parameters

this
SyntaxKind

Returns

Applies to