Partager via


SyntaxFacts.IsPredefinedType(SyntaxKind) Method

Definition

Helper to check whether the token is a predefined type

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

Parameters

kind
SyntaxKind

Returns

True if it is a predefined type

Applies to