Partilhar via


SyntaxFacts.GetBlockName(SyntaxKind) Method

Definition

Return keyword or punctuation text based on SyntaxKind

public:
 static System::String ^ GetBlockName(Microsoft::CodeAnalysis::VisualBasic::SyntaxKind kind);
public static string GetBlockName (Microsoft.CodeAnalysis.VisualBasic.SyntaxKind kind);
static member GetBlockName : Microsoft.CodeAnalysis.VisualBasic.SyntaxKind -> string
Public Shared Function GetBlockName (kind As SyntaxKind) As String

Parameters

kind
SyntaxKind

Returns

Applies to