共用方式為


SyntaxFacts.IsMethodBlock(SyntaxKind) 方法

定義

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

參數

kind
SyntaxKind

傳回

適用於