Share via


WebPageRazorHost.CodeLanguage Property

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

Gets the RazorCodeLanguage.

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

Syntax

'Declaration
Public Overrides Property CodeLanguage As RazorCodeLanguage 
    Get 
    Protected Set
'Usage
Dim instance As WebPageRazorHost 
Dim value As RazorCodeLanguage 

value = instance.CodeLanguage

instance.CodeLanguage = value
public override RazorCodeLanguage CodeLanguage { get; protected set; }
public:
virtual property RazorCodeLanguage^ CodeLanguage {
    RazorCodeLanguage^ get () override;
    protected: void set (RazorCodeLanguage^ value) override;
}
abstract CodeLanguage : RazorCodeLanguage with get, set 
override CodeLanguage : RazorCodeLanguage with get, set
override function get CodeLanguage () : RazorCodeLanguage 
protected override function set CodeLanguage (value : RazorCodeLanguage)

Property Value

Type: System.Web.Razor.RazorCodeLanguage
The RazorCodeLanguage.

See Also

Reference

WebPageRazorHost Class

System.Web.WebPages.Razor Namespace