WebPageRazorHost.GetCodeLanguage Method

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

Gets the code language specified in the webpage.

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

protected virtual RazorCodeLanguage GetCodeLanguage()

Return Value

Type: System.Web.Razor.RazorCodeLanguage
The code language specified in the webpage.
Show: