Share via


RazorCodeLanguage.LanguageName Property

Definition

Gets the language name of the current Razor code, that is “csharp” or “vb”.This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

public abstract string LanguageName { get; }
member this.LanguageName : string
Public MustOverride ReadOnly Property LanguageName As String

Property Value

The language name of the current Razor code.

Applies to