Share via


CSharpLanguageCharacteristics.GetKeyword Method

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Gets the keyword in the code.

Namespace:  System.Web.Razor.Parser
Assembly:  System.Web.Razor (in System.Web.Razor.dll)

Syntax

'Declaration
Public Shared Function GetKeyword ( _
    keyword As CSharpKeyword _
) As String
'Usage
Dim keyword As CSharpKeyword 
Dim returnValue As String 

returnValue = CSharpLanguageCharacteristics.GetKeyword(keyword)
public static string GetKeyword(
    CSharpKeyword keyword
)
public:
static String^ GetKeyword(
    CSharpKeyword keyword
)
static member GetKeyword : 
        keyword:CSharpKeyword -> string
public static function GetKeyword(
    keyword : CSharpKeyword
) : String

Parameters

Return Value

Type: System.String
The keyword in the code.

See Also

Reference

CSharpLanguageCharacteristics Class

System.Web.Razor.Parser Namespace