共用方式為


SyntaxFacts.IsTypeDeclaration(SyntaxKind) Method

Definition

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

Parameters

kind
SyntaxKind

Returns

Applies to