SyntaxFacts.GetBlockName(SyntaxKind) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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