共用方式為


SyntaxFacts.IsGlobalMemberDeclaration(SyntaxKind) Method

Definition

Member declarations that can appear in global code (other than type declarations).

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

Parameters

kind
SyntaxKind

Returns

Applies to